org.joda.time
Class MockZone

java.lang.Object
  extended by org.joda.time.DateTimeZone
      extended by org.joda.time.MockZone
All Implemented Interfaces:
Serializable

public class MockZone
extends DateTimeZone

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.joda.time.DateTimeZone
UTC
 
Constructor Summary
MockZone(long transition, int winterOffset, int sizeSecs)
           
 
Method Summary
 boolean equals(Object object)
           
 String getNameKey(long instant)
           
 int getOffset(long instant)
           
 int getStandardOffset(long instant)
           
 boolean isFixed()
           
 long nextTransition(long instant)
           
 long previousTransition(long instant)
           
 
Methods inherited from class org.joda.time.DateTimeZone
adjustOffset, convertLocalToUTC, convertLocalToUTC, convertUTCToLocal, forID, forOffsetHours, forOffsetHoursMinutes, forOffsetMillis, forTimeZone, getAvailableIDs, getDefault, getID, getMillisKeepLocal, getName, getName, getNameProvider, getOffset, getOffsetFromLocal, getProvider, getShortName, getShortName, hashCode, isLocalDateTimeGap, isStandardOffset, setDefault, setNameProvider, setProvider, toString, toTimeZone, writeReplace
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MockZone

public MockZone(long transition,
                int winterOffset,
                int sizeSecs)
Method Detail

getOffset

public int getOffset(long instant)
Specified by:
getOffset in class DateTimeZone

getStandardOffset

public int getStandardOffset(long instant)
Specified by:
getStandardOffset in class DateTimeZone

nextTransition

public long nextTransition(long instant)
Specified by:
nextTransition in class DateTimeZone

previousTransition

public long previousTransition(long instant)
Specified by:
previousTransition in class DateTimeZone

isFixed

public boolean isFixed()
Specified by:
isFixed in class DateTimeZone

getNameKey

public String getNameKey(long instant)
Specified by:
getNameKey in class DateTimeZone

equals

public boolean equals(Object object)
Specified by:
equals in class DateTimeZone


Copyright © 2002-2013 Joda.org. All Rights Reserved.