QJCC homepage

biz.chitec.quarterback.util
Class EDateRangeSymbols

java.lang.Object
  extended bybiz.chitec.quarterback.gjsa.ChatSymbolHolder
      extended bybiz.chitec.quarterback.gjsa.IntChatSymbolHolder
          extended bybiz.chitec.quarterback.util.EDateRangeSymbols

public final class EDateRangeSymbols
extends IntChatSymbolHolder


Field Summary
private static int[] allsymbols
           
static int BIMONTHLY
           
static int BIWEEKLY
           
static int DAILY
           
static int FOURMONTHLY
           
static int HALFYEARLY
           
static EDateRangeSymbols instance
           
static int MONTHLY
           
static int QUARTERLY
           
static int WEEKLY
           
static int YEARLY
           
 
Fields inherited from class biz.chitec.quarterback.gjsa.IntChatSymbolHolder
rb
 
Constructor Summary
EDateRangeSymbols()
           
 
Method Summary
 int[] getAllSymbols()
          Return an array with all numeric symbol values.
 QuickIntArray getAllSymbolsQIA()
          Returns a QuickIntArray with all numeric symbol values.
 java.lang.String getSymbolSetName()
          Return the name of the symbol set.
 int[] getSymbolSetVersion()
          Version of the symbol set in version-subversion-patchlevel type.
 java.lang.String numericToSymbol(int numeric)
          Return the string-based representation of the symbol.
 int symbolToNumeric(java.lang.String symbol)
          Return the numeric equivalent to a symbol given as String.
 
Methods inherited from class biz.chitec.quarterback.gjsa.IntChatSymbolHolder
anyToI18N, anyToI18N, anyToI18N, anyToI18N, getBundle, numericToI18N, numericToI18N, numericToI18N, numericToI18N, numericToI18NNumberedString, numericToI18NNumberedString, numericToI18NNumberedString, numericToI18NNumberedString, setLocale, symbolToI18N, symbolToI18N, symbolToI18N, symbolToI18N
 
Methods inherited from class biz.chitec.quarterback.gjsa.ChatSymbolHolder
anyToNumeric, equals, getSymbolSetVersionV
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final EDateRangeSymbols instance

BIMONTHLY

public static final int BIMONTHLY
See Also:
Constant Field Values

BIWEEKLY

public static final int BIWEEKLY
See Also:
Constant Field Values

DAILY

public static final int DAILY
See Also:
Constant Field Values

FOURMONTHLY

public static final int FOURMONTHLY
See Also:
Constant Field Values

HALFYEARLY

public static final int HALFYEARLY
See Also:
Constant Field Values

MONTHLY

public static final int MONTHLY
See Also:
Constant Field Values

QUARTERLY

public static final int QUARTERLY
See Also:
Constant Field Values

WEEKLY

public static final int WEEKLY
See Also:
Constant Field Values

YEARLY

public static final int YEARLY
See Also:
Constant Field Values

allsymbols

private static final int[] allsymbols
Constructor Detail

EDateRangeSymbols

public EDateRangeSymbols()
Method Detail

symbolToNumeric

public int symbolToNumeric(java.lang.String symbol)
Description copied from class: ChatSymbolHolder
Return the numeric equivalent to a symbol given as String. Usually, this method is implemented in the subclasses by a preprocessor.

Specified by:
symbolToNumeric in class ChatSymbolHolder
Parameters:
symbol - Value of the symbol as String
Returns:
The symbol's integer value.

numericToSymbol

public java.lang.String numericToSymbol(int numeric)
Description copied from class: ChatSymbolHolder
Return the string-based representation of the symbol. Usually, this method is implemented in the subclasses by a preprocessor.

Specified by:
numericToSymbol in class ChatSymbolHolder
Parameters:
numeric - The symbol's integer value.
Returns:
Value of the symbol as String.

getSymbolSetName

public java.lang.String getSymbolSetName()
Description copied from class: ChatSymbolHolder
Return the name of the symbol set. Usually, this method is implemented in the subclasses by a preprocessor.

Specified by:
getSymbolSetName in class ChatSymbolHolder
Returns:
Arbitrary name of the symbol set.

getSymbolSetVersion

public int[] getSymbolSetVersion()
Description copied from class: ChatSymbolHolder
Version of the symbol set in version-subversion-patchlevel type. Usually, this method is implemented in the subclasses by a preprocessor.

Specified by:
getSymbolSetVersion in class ChatSymbolHolder
Returns:
int-array with three elements being version (index 0), subversion (index 1) and patchlevel (index 2) of the symbol set.

getAllSymbols

public final int[] getAllSymbols()
Description copied from class: ChatSymbolHolder
Return an array with all numeric symbol values. Usually, this method is implemented in the subclasses by a preprocessor. It can be left out, however. In this case, an UnsupportedOperationException is thrown.

Overrides:
getAllSymbols in class ChatSymbolHolder
Returns:
Array with all defined symbols.

getAllSymbolsQIA

public final QuickIntArray getAllSymbolsQIA()
Description copied from class: ChatSymbolHolder
Returns a QuickIntArray with all numeric symbol values. This method depends on getAllSymbols() and can therefor also throw an UnsupportedOperationException.

Overrides:
getAllSymbolsQIA in class ChatSymbolHolder
Returns:
QuickIntArray with all defined symbols.

QJCC homepage