getId
getId: (ZoneId) -> stringThe id.
ZoneId.systemDefault()
ZoneId.of(…)
ZonedDateTime.now():getZone()| Method | Returns | Description |
|---|---|---|
getId() | string | The id. |
equals(any) | boolean | Whether other is a zone of the same id. |
hashCode() | number | The id's String#hashCode. |
toString() | string | The id. |
systemDefault() | ZoneId | The system's zone. |
of(string) | ZoneId | The zone named zoneId: a region id, Z, an offset (+02:00) or one prefixed with UTC/GMT/UT. An unknown region is `ZoneRulesExcep… |
| Method | Returns | Description |
|---|---|---|
ZonedDateTime.getZone | ZoneId | The zone. |
ZoneIdClass.of | ZoneId | The zone named zoneId: a region id, Z, an offset (+02:00) or one prefixed with UTC/GMT/UT. An unknown region is `ZoneRulesExcep… |
ZoneIdClass.systemDefault | ZoneId | The system's zone. |
getIdgetId: (ZoneId) -> stringThe id.
equalsequals: (ZoneId, any) -> booleanWhether other is a zone of the same id.
hashCodehashCode: (ZoneId) -> numberThe id's String#hashCode.
toStringtoString: (ZoneId) -> stringThe id.
systemDefaultsystemDefault: () -> ZoneIdThe system's zone.
ofof: (string) -> ZoneIdThe zone named zoneId: a region id, Z, an offset (+02:00) or one prefixed with UTC/GMT/UT. An unknown region is ZoneRulesException.