Java.Util.TimeZone.DSTSavings Property
Returns the latest daylight savings in milliseconds for this time zone, relative to this time zone's regular UTC offset (as returned by TimeZone.RawOffset).

Syntax

[get: Android.Runtime.Register("getDSTSavings", "()I", "GetGetDSTSavingsHandler")]
public virtual int DSTSavings { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Returns the latest daylight savings in milliseconds for this time zone, relative to this time zone's regular UTC offset (as returned by TimeZone.RawOffset).

This class returns 3600000 (1 hour) for time zones that use daylight savings time and 0 for timezones that do not, leaving it to subclasses to override this method for other daylight savings offsets. (There are time zones, such as Australia/Lord_Howe, that use other values.)

Note that this method doesn't tell you whether or not to apply the offset: you need to call inDaylightTime for the specific time you're interested in. If this method returns a non-zero offset, that only tells you that this TimeZone sometimes observes daylight savings.

Note also that this method doesn't necessarily return the value you need to apply to the time you're working with. This value can and does change over time for a given time zone.

It's highly unlikely that you should ever call this method. You probably want TimeZone.GetOffset(int, System.Int32, System.Int32, System.Int32, System.Int32, System.Int32) instead, which tells you the offset for a specific point in time, and takes daylight savings into account for you.

[Android Documentation]

Requirements

Namespace: Java.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1