Initializer
OffsetTimeZone(Integer offsetMilliseconds)
Parameters:
  • offsetMilliseconds

    The value that represents this constant offset in milliseconds.

Attributes
hashSource Codeshared actual Integer hash

This implementation respect the constraint that if x==y then x.hash==y.hash.

Refines Identifiable.hash ultimately refines Object.hash
offsetMillisecondsSource Codeshared Integer offsetMilliseconds

The value that represents this constant offset in milliseconds.

stringSource 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

Inherited Attributes
Attributes inherited from: Object
Methods
equalsSource Codeshared actual Boolean equals(Object other)

Returns true if given value is same type and offset milliseconds.

Refines Identifiable.equals ultimately refines Object.equals
offsetSource 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.

Inherited Methods
Methods inherited from: Object
Methods inherited from: TimeZone