public class SimplifiedTimeZone extends Object
TimeZone
Constructor and Description |
---|
SimplifiedTimeZone(String messageKey,
String timeZoneId,
int rawOffset,
String sortingName) |
Modifier and Type | Method and Description |
---|---|
String |
getMessageKey() |
int |
getRawOffset() |
String |
getSortingName() |
String |
getTimeZoneId() |
void |
setMessageKey(String messageKey) |
void |
setRawOffset(int rawOffset) |
void |
setSortingName(String sortingName) |
void |
setTimeZoneId(String timeZoneId) |
public SimplifiedTimeZone(String messageKey, String timeZoneId, int rawOffset, String sortingName)
messageKey
- The message keytimeZoneId
- The ID of the TimeZone
instance this simplified time zone
belongs torawOffset
- the amount of time in milliseconds to add to UTC to get standard time in this time
zonepublic String getMessageKey()
public int getRawOffset()
public String getSortingName()
public String getTimeZoneId()
TimeZone
instance this simplified time zone belongs
topublic void setMessageKey(String messageKey)
messageKey
- the messageKey for localizing this time zone instancepublic void setRawOffset(int rawOffset)
rawOffset
- the amount of time in milliseconds to add to UTC to get standard time in this time
zone.public void setSortingName(String sortingName)
sortingName
- the sortingName to setCopyright © 2019 Communote team. All rights reserved.