Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.share.nls
Class MutableDateFormatContext

java.lang.Object
  |
  +--oracle.cabo.share.nls.DateFormatContext
        |
        +--oracle.cabo.share.nls.MutableDateFormatContext
All Implemented Interfaces:
java.lang.Cloneable

public final class MutableDateFormatContext
extends DateFormatContext

The MutableDateFormatContext class contains all date format parameters, which can be changed again after initialisation.


Constructor Summary
MutableDateFormatContext(DateFormatContext dfc)
           
 
Method Summary
 int getTwoDigitYearStart()
          Returns the default offset to use during parse for dates with only two digit years.
 boolean isLenient()
          Returns whether the DateFormat should accept derived patterns during parsing, allowing: 01/13/99 --> 13-Jan-99 03/Oct/99 --> 03-Oct-99 03.Oct.99 --> 03-Oct-99
 void setLenient(boolean lenient)
          Sets whether the DateFormat should accept derived patterns during parsing, allowing: 01/13/99 --> 13-Jan-99 03/Oct/99 --> 03-Oct-99 03.Oct.99 --> 03-Oct-99
 void setTwoDigitYearStart(int twoDigitYearStart)
          Sets the default offset to use during parse for dates with only two digit years.
 
Methods inherited from class oracle.cabo.share.nls.DateFormatContext
clone, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MutableDateFormatContext

public MutableDateFormatContext(DateFormatContext dfc)
Method Detail

getTwoDigitYearStart

public int getTwoDigitYearStart()
Returns the default offset to use during parse for dates with only two digit years.
Overrides:
getTwoDigitYearStart in class DateFormatContext

isLenient

public boolean isLenient()
Returns whether the DateFormat should accept derived patterns during parsing, allowing: 01/13/99 --> 13-Jan-99 03/Oct/99 --> 03-Oct-99 03.Oct.99 --> 03-Oct-99
Overrides:
isLenient in class DateFormatContext

setLenient

public void setLenient(boolean lenient)
Sets whether the DateFormat should accept derived patterns during parsing, allowing: 01/13/99 --> 13-Jan-99 03/Oct/99 --> 03-Oct-99 03.Oct.99 --> 03-Oct-99

setTwoDigitYearStart

public void setTwoDigitYearStart(int twoDigitYearStart)
Sets the default offset to use during parse for dates with only two digit years.

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.