|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.bbk.dcs.automed.qproc.functions.BuiltInFunction
uk.ac.bbk.dcs.automed.qproc.functions.date.GetMonth
public class GetMonth
Provides a mapping between number and word representation for the months. Possible integer inputs are 1..12 and 01..12. Possible string inputs are 'January'..'December' and 'Jan'..'Dec' (case-insensitive, include single quotes). String output is January..December. Integer output is 01..12.
| Field Summary |
|---|
| Fields inherited from class uk.ac.bbk.dcs.automed.qproc.functions.BuiltInFunction |
|---|
arity, logger, typeList |
| Constructor Summary | |
|---|---|
GetMonth()
|
|
| Method Summary | |
|---|---|
Cell |
perform(Cell[] args,
Evaluator e)
|
| Methods inherited from class uk.ac.bbk.dcs.automed.qproc.functions.BuiltInFunction |
|---|
finalize, getArity, getTypeList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GetMonth()
throws ParseException
ParseException| Method Detail |
|---|
public Cell perform(Cell[] args,
Evaluator e)
throws TypeException,
QProcException
perform in class BuiltInFunctionTypeException
QProcException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||