A simple time zone with a constant offset from UTC.
no subtypes hierarchy
Initializer |
OffsetTimeZone(Integer offsetMilliseconds) Parameters:
|
Attributes | |
hash | Source Codeshared actual Integer hash This implementation respect the constraint that if |
offsetMilliseconds | Source Codeshared Integer offsetMilliseconds The value that represents this constant offset in milliseconds. |
string | Source Codeshared actual default String string Returns ISO-8601 formatted String representation of this time of day. https://en.wikipedia.org/wiki/ISO_8601#Time_offsets_from_UTC Refines Object.string |
Inherited Attributes |
Attributes inherited from: Object |
Methods | |
equals | Source Codeshared actual Boolean equals(Object other) Returns true if given value is same type and offset milliseconds. |
offset | Source Codeshared actual Integer offset(Instant instant) Returns offset in milliseconds of the specified instant according to this time zone. This implementation always returns a constant offset. Refines TimeZone.offset |
Inherited Methods |
Methods inherited from: Object |
Methods inherited from: TimeZone |