public class SerializableTimeZoneTime
extends java.lang.Object
| Constructor and Description |
|---|
SerializableTimeZoneTime()
Initializes a new instance of the SerializableTimeZoneTime class.
|
SerializableTimeZoneTime(int offset,
Time time,
DayOrder dayOrder,
Month month,
DayOfWeek dayOfWeek)
Initializes a new instance of the SerializableTimeZoneTime class.
|
SerializableTimeZoneTime(int offset,
Time time,
DayOrder dayOrder,
Month month,
DayOfWeek dayOfWeek,
java.lang.String year)
Initializes a new instance of the SerializableTimeZoneTime class.
|
| Modifier and Type | Method and Description |
|---|---|
DayOfWeek |
getDayOfWeek()
Gets the day of the week when the transition to and from standard time and daylight saving time occurs.
|
DayOrder |
getDayOrder()
Gets the nth occurrence of the day that is specified in the DayOfWeek property that represents the date of transition from and to standard time and daylight saving time.
|
Month |
getMonth()
Gets the transition month of the year to and from standard time and daylight saving time.
|
int |
getOffset()
Gets the offset from the Coordinated Universal Time (UTC) offset.
|
Time |
getTime()
Gets the transition time of day to and from standard time and daylight saving time.
|
java.lang.String |
getYear()
Gets the year.
|
void |
setDayOfWeek(DayOfWeek dayOfWeek)
Sets the day of the week when the transition to and from standard time and daylight saving time occurs.
|
void |
setDayOrder(DayOrder dayOrder)
Sets the nth occurrence of the day that is specified in the DayOfWeek property that represents the date of transition from and to standard time and daylight saving time.
|
void |
setMonth(Month month)
Sets the transition month of the year to and from standard time and daylight saving time.
|
void |
setOffset(int offset)
Sets the offset from the Coordinated Universal Time (UTC) offset.
|
void |
setTime(Time time)
Sets the transition time of day to and from standard time and daylight saving time.
|
void |
setYear(java.lang.String year)
Sets the year.
|
public SerializableTimeZoneTime()
public SerializableTimeZoneTime(int offset,
Time time,
DayOrder dayOrder,
Month month,
DayOfWeek dayOfWeek)
offset - the offsettime - the timedayOrder - the day ordermonth - the monthdayOfWeek - the day of weekpublic SerializableTimeZoneTime(int offset,
Time time,
DayOrder dayOrder,
Month month,
DayOfWeek dayOfWeek,
java.lang.String year)
offset - the offsettime - the timedayOrder - the day ordermonth - the monthdayOfWeek - the day of weekyear - the yearpublic int getOffset()
public void setOffset(int offset)
offset - the new offsetpublic Time getTime()
public void setTime(Time time)
time - the new timepublic DayOrder getDayOrder()
public void setDayOrder(DayOrder dayOrder)
dayOrder - the new day orderpublic Month getMonth()
public void setMonth(Month month)
month - the new monthpublic DayOfWeek getDayOfWeek()
public void setDayOfWeek(DayOfWeek dayOfWeek)
dayOfWeek - the new day of weekpublic java.lang.String getYear()
public void setYear(java.lang.String year)
year - the new year