Time Zone Rules
interface TimeZoneRules
Content copied to clipboard
The set of rules for a particular time zone.
Functions
daylight Savings At
Link copied to clipboard
Gets the amount of daylight savings time in effect at a particular instant. This is the amount of time added to the standard offset.
is Daylight Savings At
Link copied to clipboard
Checks if daylight savings time is in effect at a particular instant.
is Valid Offset
Link copied to clipboard
Checks if offset is valid at particular date and time.
offset At
Link copied to clipboard
Gets the offset in effect at a particular date and time.
Gets the offset in effect at a particular instant.
abstract fun offsetAt(millisecondsSinceUnixEpoch: Milliseconds): UtcOffset
Content copied to clipboard
Gets the offset in effect at a certain number of milliseconds since the Unix epoch.
abstract fun offsetAt(secondsSinceUnixEpoch: Seconds, nanoOfSeconds: Nanoseconds): UtcOffset
Content copied to clipboard
Gets the offset in effect at a certain number of seconds since the Unix epoch.
transition At
Link copied to clipboard
Gets the transition at a particular date and time, if one exists.
valid Offsets At
Link copied to clipboard
Gets a list of the valid offsets at a particular date and time.
Properties
hasFixedOffset
Link copied to clipboard