org.apache.myfaces.trinidadinternal.share.nls
Class ImmutableDateFormatContext

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.share.nls.DateFormatContext
      extended by org.apache.myfaces.trinidadinternal.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.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/share/nls/ImmutableDateFormatContext.java#0 $) $Date: 10-nov-2005.19:00:02 $
Author:
The Oracle ADF Faces Team

Constructor Summary
ImmutableDateFormatContext(DateFormatContext dfc)
          Constructs a new ImmutableDateFormatContext, cloning the instance passed in.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Override of Object.equals().
 int getTwoDigitYearStart()
          Returns the year offset for parsing years with only two digits.
 int hashCode()
          Override of Object.hashCode().
 
Methods inherited from class org.apache.myfaces.trinidadinternal.share.nls.DateFormatContext
clone, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImmutableDateFormatContext

public ImmutableDateFormatContext(DateFormatContext dfc)
Constructs a new ImmutableDateFormatContext, cloning the instance passed in.

Method Detail

getTwoDigitYearStart

public int getTwoDigitYearStart()
Description copied from class: DateFormatContext
Returns the year offset for parsing years with only two digits.

Specified by:
getTwoDigitYearStart in class DateFormatContext

equals

public boolean equals(java.lang.Object obj)
Description copied from class: DateFormatContext
Override of Object.equals().

Overrides:
equals in class DateFormatContext

hashCode

public int hashCode()
Description copied from class: DateFormatContext
Override of Object.hashCode().

Overrides:
hashCode in class DateFormatContext


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.