Java.Util.SimpleTimeZone Members

The members of Java.Util.SimpleTimeZone are listed below.

See Also: Inherited members from Java.Util.TimeZone

Public Constructors

Constructs a SimpleTimeZone with the given base time zone offset from GMT, time zone ID, and times to start and end the daylight savings time.
Constructs a SimpleTimeZone with the given base time zone offset from GMT, time zone ID, times to start and end the daylight savings time, and the daylight savings time difference in milliseconds.
Construct a SimpleTimeZone with the given base time zone offset from GMT, time zone ID, times to start and end the daylight savings time including a mode specifier, the daylight savings time difference in milliseconds.
Constructs a SimpleTimeZone with the given base time zone offset from GMT and time zone ID.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
StandardTimeTimeZoneKind (1). The constant for representing a start or end time in standard local time mode, based on timezone's raw offset from GMT; does not include Daylight savings.
const
UtcTimeTimeZoneKind (2). The constant for representing a start or end time in GMT time mode.
const
WallTimeTimeZoneKind (0). The constant for representing a start or end time in local wall clock time mode, based on timezone's adjusted offset from GMT; includes Daylight savings.

Public Properties

override
RawOffsetint. Returns the offset in milliseconds from UTC of this time zone's standard time.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

override
GetOffset(int, int, int, int, int, int) : int
Returns this time zone's offset in milliseconds from UTC at the specified date and time.
override
InDaylightTime(Date) : bool
Returns true if time is in a daylight savings time period for this time zone.
SetDSTSavings(int)
Sets the daylight savings offset in milliseconds for this SimpleTimeZone.
SetEndRule(int, int, int)
Sets the rule which specifies the end of daylight savings time.
SetEndRule(int, int, int, int)
Sets the rule which specifies the end of daylight savings time.
SetEndRule(int, int, int, int, bool)
Sets the rule which specifies the end of daylight savings time.
SetStartRule(int, int, int)
Sets the rule which specifies the start of daylight savings time.
SetStartRule(int, int, int, int)
Sets the rule which specifies the start of daylight savings time.
SetStartRule(int, int, int, int, bool)
Sets the rule which specifies the start of daylight savings time.
SetStartYear(int)
Sets the starting year for daylight savings time in this SimpleTimeZone.
override
UseDaylightTime() : bool
Returns true if this time zone has a future transition to or from daylight savings time.