Package dev.gmitch215.bytebox.time
Interface ZoneLookup
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The offset a zone was at an instant.
One function is the whole of what a timezone database is asked, and everything else about a zone
can be derived from it: which wall-clock times exist, when the offset last changed, whether daylight
saving is in force. IntlZoneRules does that deriving, and takes this so the derivation can be
checked against a real timezone database on a JVM rather than only against the platform's.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionintoffsetAt(long epochSecond) The offset from UTC at an instant.
-
Method Details
-
offsetAt
int offsetAt(long epochSecond) The offset from UTC at an instant.- Parameters:
epochSecond- seconds since the epoch- Returns:
- the offset in seconds, positive east of Greenwich
-