org.jboss.seam.international.datetimezone
Class ForwardingDateTimeZone
java.lang.Object
org.joda.time.DateTimeZone
org.jboss.seam.international.datetimezone.ForwardingDateTimeZone
- All Implemented Interfaces:
- Serializable
public abstract class ForwardingDateTimeZone
- extends org.joda.time.DateTimeZone
Delegating TimeZone.
- Author:
- Ken Finnigan
- See Also:
- Serialized Form
Fields inherited from class org.joda.time.DateTimeZone |
UTC |
Methods inherited from class org.joda.time.DateTimeZone |
forID, forOffsetHours, forOffsetHoursMinutes, forOffsetMillis, forTimeZone, getAvailableIDs, getDefault, getID, getMillisKeepLocal, getName, getNameProvider, getOffset, getProvider, getShortName, isLocalDateTimeGap, setDefault, setNameProvider, setProvider, writeReplace |
ForwardingDateTimeZone
protected ForwardingDateTimeZone(String id)
delegate
protected abstract org.joda.time.DateTimeZone delegate()
- Abstract getter for the delegate
- Returns:
- The delegate
convertLocalToUTC
public long convertLocalToUTC(long instantLocal,
boolean strict)
- Overrides:
convertLocalToUTC
in class org.joda.time.DateTimeZone
convertUTCToLocal
public long convertUTCToLocal(long instantUTC)
- Overrides:
convertUTCToLocal
in class org.joda.time.DateTimeZone
getName
public String getName(long instant,
Locale locale)
- Overrides:
getName
in class org.joda.time.DateTimeZone
getNameKey
public String getNameKey(long instant)
- Specified by:
getNameKey
in class org.joda.time.DateTimeZone
getOffset
public int getOffset(long instant)
- Specified by:
getOffset
in class org.joda.time.DateTimeZone
getOffsetFromLocal
public int getOffsetFromLocal(long instantLocal)
- Overrides:
getOffsetFromLocal
in class org.joda.time.DateTimeZone
getShortName
public String getShortName(long instant,
Locale locale)
- Overrides:
getShortName
in class org.joda.time.DateTimeZone
getStandardOffset
public int getStandardOffset(long instant)
- Specified by:
getStandardOffset
in class org.joda.time.DateTimeZone
isFixed
public boolean isFixed()
- Specified by:
isFixed
in class org.joda.time.DateTimeZone
isStandardOffset
public boolean isStandardOffset(long instant)
- Overrides:
isStandardOffset
in class org.joda.time.DateTimeZone
nextTransition
public long nextTransition(long instant)
- Specified by:
nextTransition
in class org.joda.time.DateTimeZone
previousTransition
public long previousTransition(long instant)
- Specified by:
previousTransition
in class org.joda.time.DateTimeZone
toTimeZone
public TimeZone toTimeZone()
- Overrides:
toTimeZone
in class org.joda.time.DateTimeZone
equals
public boolean equals(Object obj)
- Compares an object with the delegate
- Specified by:
equals
in class org.joda.time.DateTimeZone
- Returns:
- True if equals, false otherwise
hashCode
public int hashCode()
- Gets the hash code of the delegate
- Overrides:
hashCode
in class org.joda.time.DateTimeZone
- Returns:
- The hash code
toString
public String toString()
- Returns a string representation
- Overrides:
toString
in class org.joda.time.DateTimeZone
- Returns:
- The string representation
Copyright © 2011 Seam Framework. All Rights Reserved.