Package org.broadleafcommerce.common.web
Class TimeZoneWrapper
java.lang.Object
java.util.TimeZone
org.broadleafcommerce.common.web.TimeZoneWrapper
- All Implemented Interfaces:
Serializable,Cloneable
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()static String[]static String[]getAvailableIDs(int rawOffset) static TimeZonegetDisplayName(boolean daylight, int style, Locale locale) intgetID()intgetOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) intgetOffset(long date) intstatic TimeZonegetTimeZone(String ID) static TimeZonegetTimeZone(ZoneId zoneId) booleanhasSameRules(TimeZone other) booleaninDaylightTime(Date date) booleanstatic voidsetDefault(TimeZone zone) voidvoidsetRawOffset(int offsetMillis) toString()toZoneId()booleanMethods inherited from class java.util.TimeZone
getDisplayName, getDisplayName, getDisplayName
-
Constructor Details
-
TimeZoneWrapper
-
-
Method Details
-
getTimeZone
-
getTimeZone
-
getAvailableIDs
-
getAvailableIDs
-
getDefault
-
setDefault
-
getOffset
public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) -
getOffset
public int getOffset(long date) -
getRawOffset
public int getRawOffset()- Specified by:
getRawOffsetin classTimeZone
-
setRawOffset
public void setRawOffset(int offsetMillis) - Specified by:
setRawOffsetin classTimeZone
-
getID
-
setID
-
getDisplayName
- Overrides:
getDisplayNamein classTimeZone
-
getDSTSavings
public int getDSTSavings()- Overrides:
getDSTSavingsin classTimeZone
-
useDaylightTime
public boolean useDaylightTime()- Specified by:
useDaylightTimein classTimeZone
-
observesDaylightTime
public boolean observesDaylightTime()- Overrides:
observesDaylightTimein classTimeZone
-
inDaylightTime
- Specified by:
inDaylightTimein classTimeZone
-
toZoneId
-
hasSameRules
- Overrides:
hasSameRulesin classTimeZone
-
clone
-
toString
-