Return type | Name and parameters |
---|---|
String
|
getFullName()
Returns the name of this zone formatted according to the TextStyle#FULL text style. |
String
|
getFullName(Locale locale)
Returns the name of this zone formatted according to the TextStyle#FULL text style for the provided Locale. |
ZoneOffset
|
getOffset()
Returns a ZoneOffset for this zone as of now. |
ZoneOffset
|
getOffset(Instant instant)
Returns a ZoneOffset for this zone as of the provided Instant. |
String
|
getShortName()
Returns the name of this zone formatted according to the TextStyle#SHORT text style. |
String
|
getShortName(Locale locale)
Returns the name of this zone formatted according to the TextStyle#SHORT text style for the provided Locale. |
ZonedDateTime
|
leftShift(LocalDateTime dateTime)
Returns a ZonedDateTime of this zone and the given LocalDateTime. |
TimeZone
|
toTimeZone()
Returns a TimeZone equivalent to this zone. |
addShutdownHook
, any
, any
, asBoolean
, asType
, average
, collect
, collect
, collect
, contains
, count
, dump
, each
, eachWithIndex
, equals
, every
, every
, find
, find
, findAll
, findAll
, findIndexOf
, findIndexOf
, findIndexValues
, findIndexValues
, findLastIndexOf
, findLastIndexOf
, findResult
, findResult
, flatten
, getAt
, getMetaClass
, getMetaPropertyValues
, getProperties
, grep
, grep
, groupBy
, groupBy
, hasProperty
, identity
, inject
, inject
, inspect
, invokeMethod
, is
, isCase
, iterator
, join
, metaClass
, print
, print
, printf
, printf
, println
, println
, println
, putAt
, respondsTo
, respondsTo
, setMetaClass
, size
, split
, sprintf
, sprintf
, stream
, sum
, sum
, tap
, toArrayString
, toSpreadMap
, toString
, use
, use
, use
, with
, with
, withTraits
Returns the name of this zone formatted according to the TextStyle#FULL text style.
Returns the name of this zone formatted according to the TextStyle#FULL text style for the provided Locale.
locale
- a LocaleReturns a ZoneOffset for this zone as of now.
Returns a ZoneOffset for this zone as of the provided Instant.
instant
- an InstantReturns the name of this zone formatted according to the TextStyle#SHORT text style.
Returns the name of this zone formatted according to the TextStyle#SHORT text style for the provided Locale.
locale
- a LocaleReturns a ZonedDateTime of this zone and the given LocalDateTime.