Package java.time
package java.time
-
ClassDescriptionThe seven days of the week, Monday first as ISO counts them.An amount of time in seconds and nanoseconds, such as 34.5 seconds.A moment on the time line, in seconds and nanoseconds from 1970-01-01T00:00:00Z.A date of the ISO calendar with no time and no zone, such as 2007-12-03.A date and a time of day with no zone, such as 2007-12-03T10:15:30.A time of day with no date and no zone, such as 10:15:30.The twelve months of the ISO calendar.A date and time with a fixed offset from UTC, such as 2007-12-03T10:15:30+01:00.An amount of calendar time in years, months and days, such as "2 years, 3 months and 4 days".A date and a time of day in a time zone, such as
2007-12-03T10:15:30+01:00[Europe/Paris].A time zone: either a fixedZoneOffset, or a region such asEurope/Pariswhose offsets come from the platform's time zone rules.A fixed offset from UTC, between -18:00 and +18:00.