|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Interface Summary | |
|---|---|
| CalcEngineConstants | |
| MaturityParserConstants | |
| NumberRangeParserConstants | |
| TSDateParserConstants | |
| Class Summary | |
|---|---|
| CalcEngine | |
| CalcEngineTokenManager | |
| CalcFunctions | Enumeration of all functions that are used by CalcEngine. |
| MaturityParser | |
| MaturityParserTokenManager | |
| NumberRangeParser | Parser that assembles number range objects from an input string, for example
[1,100]
One can use the parser via the parseString, parseStringToRange
methods. |
| NumberRangeParserTokenManager | |
| SimpleCharStream | |
| Token | |
| TSDateParser | Parser that assembles TSDate objects from an input string, for
example
1960
The following rules apply for parsing:
XX x"/"y, for example 1960 1/1 is
recognized for arbitrary sub periodicities with mainPeriod=XX, subPeriod=x,
subPeriodicity=y
XX ["M","m"]x, for example 1960 M1 is
recognized as mainPeriod=XX, subPeriod=x, subPeriodicity=12 (monthly)
XX ["Q","q"]x, for example 1960 Q1 is
recognized as mainPeriod=XX, subPeriod=x, subPeriodicity=4 (quarterly)
XX ["I", "II"], for example 1960 I is
recognized as mainPeriod=XX, subPeriod=1 or 2, subPeriodicity=2 (half yearly)
XX , for example 1960 is recognized as
mainPeriod=XX, subPeriod=1, subPeriodicity=1 (yearly)
XX.x , for example 1960.1 is recognized as
mainPeriod=XX, subPeriod=x, subPeriodicity=subPeriodicity (needs to be set as
argument)
You can use the parser via the
parseString(input, subPeriodicity) method. |
| TSDateParserTokenManager | |
| Exception Summary | |
|---|---|
| ParseException | This exception is thrown when parse errors are encountered. |
| Error Summary | |
|---|---|
| TokenMgrError | |
Various parsers generated by JavaCC.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||