oracle.cabo.share.nls
Class ImmutableDateFormatContext
java.lang.Object
|
+--oracle.cabo.share.nls.DateFormatContext
|
+--oracle.cabo.share.nls.ImmutableDateFormatContext
- All Implemented Interfaces:
- java.lang.Cloneable
- public final class ImmutableDateFormatContext
- extends DateFormatContext
The ImmutableDateFormatContext class contains all date format parameters,
which cannot be changed once initialised.
Method Summary |
int |
getTwoDigitYearStart()
Returns the year offset for parsing years with only two digits. |
int |
hashCode()
Override of Object.hashCode(). |
boolean |
isLenient()
Returns whether or not to allow lenient parsing. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
ImmutableDateFormatContext
public ImmutableDateFormatContext(DateFormatContext dfc)
- Constructs a new ImmutableDateFormatContext, cloning the instance passed
in.
getTwoDigitYearStart
public int getTwoDigitYearStart()
- Description copied from class:
DateFormatContext
- Returns the year offset for parsing years with only two digits.
- Overrides:
getTwoDigitYearStart
in class DateFormatContext
isLenient
public boolean isLenient()
- Description copied from class:
DateFormatContext
- Returns whether or not to allow lenient parsing.
- Overrides:
isLenient
in class DateFormatContext
hashCode
public int hashCode()
- Description copied from class:
DateFormatContext
- Override of Object.hashCode().
- Overrides:
hashCode
in class DateFormatContext