Enum Class OceanusDateResource
- All Implemented Interfaces:
OceanusBundleId,Serializable,Comparable<OceanusDateResource>,Constable
Resource IDs for TethysDate package.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInvalid Date String.Null Date disallowed.Null Locale disallowed.Period AllDates.Period CalendarMonth.Period CalendarQuarter.Period CalendarYear.Period Custom.Period DatesUpTo.Period FiscalYear.Period Fortnight.Period HalfYear.Period OneMonth.Period OneWeek.Period OneYear.Period QuarterYear.Range To.Range unbounded.Title Box. -
Method Summary
Modifier and TypeMethodDescriptionprotected static OceanusBundleIdgetKeyForPeriod(OceanusDatePeriod pPeriod) Obtain key for period.Get Key Name.Get NameSpace.getValue()Get Value.static OceanusDateResourceReturns the enum constant of this class with the specified name.static OceanusDateResource[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ERROR_NULLDATE
Null Date disallowed. -
ERROR_NULLLOCALE
Null Locale disallowed. -
ERROR_BADFORMAT
Invalid Date String. -
PERIOD_ONEWEEK
Period OneWeek. -
PERIOD_FORTNIGHT
Period Fortnight. -
PERIOD_ONEMONTH
Period OneMonth. -
PERIOD_QUARTERYEAR
Period QuarterYear. -
PERIOD_HALFYEAR
Period HalfYear. -
PERIOD_ONEYEAR
Period OneYear. -
PERIOD_CALENDARMONTH
Period CalendarMonth. -
PERIOD_CALENDARQUARTER
Period CalendarQuarter. -
PERIOD_CALENDARYEAR
Period CalendarYear. -
PERIOD_FISCALYEAR
Period FiscalYear. -
PERIOD_DATESUPTO
Period DatesUpTo. -
PERIOD_CUSTOM
Period Custom. -
PERIOD_ALLDATES
Period AllDates. -
RANGE_UNBOUNDED
Range unbounded. -
RANGE_TO
Range To. -
TITLE_BOX
Title Box.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getKeyName
Description copied from interface:OceanusBundleIdGet Key Name.- Specified by:
getKeyNamein interfaceOceanusBundleId- Returns:
- the key name.
-
getNameSpace
Description copied from interface:OceanusBundleIdGet NameSpace.- Specified by:
getNameSpacein interfaceOceanusBundleId- Returns:
- the nameSpace.
-
getValue
Description copied from interface:OceanusBundleIdGet Value.- Specified by:
getValuein interfaceOceanusBundleId- Returns:
- the value.
-
getKeyForPeriod
Obtain key for period.- Parameters:
pPeriod- the period- Returns:
- the resource key
-