Uses of Interface
javax.time.calendar.DateProvider
Packages that use DateProvider
Package
Description
Provides classes to manage the human time scale including date, time,
date-time and time-zone representations.
Provides classes representing dates and times in alternate calendar systems.
-
Uses of DateProvider in javax.time.calendar
Subinterfaces of DateProvider in javax.time.calendarModifier and TypeInterfaceDescriptioninterfaceProvides access to a date-time in the ISO-8601 calendar system.Classes in javax.time.calendar that implement DateProviderModifier and TypeClassDescriptionfinal classA date without a time-zone in the ISO-8601 calendar system, such as2007-12-03.final classA date-time without a time-zone in the ISO-8601 calendar system, such as2007-12-03T10:15:30.final classA date with a zone offset from UTC in the ISO-8601 calendar system, such as2007-12-03+01:00.final classA date-time with a zone offset from UTC in the ISO-8601 calendar system, such as2007-12-03T10:15:30+01:00.final classA date-time with a time-zone in the ISO-8601 calendar system, such as2007-12-03T10:15:30+01:00 Europe/Paris.Methods in javax.time.calendar with parameters of type DateProviderModifier and TypeMethodDescriptionstatic PeriodPeriod.between(DateProvider startDateProvider, DateProvider endDateProvider) Obtains aPeriodconsisting of the number of days, months and years between two dates.static PeriodPeriod.daysBetween(DateProvider startDateProvider, DateProvider endDateProvider) Obtains aPeriodconsisting of the number of days between two dates.static PeriodPeriod.monthsBetween(DateProvider startDateProvider, DateProvider endDateProvider) Obtains aPeriodconsisting of the number of months between two dates.static LocalDateLocalDate.of(DateProvider dateProvider) Obtains an instance ofLocalDatefrom a date provider.static LocalDateTimeLocalDateTime.of(DateProvider dateProvider, TimeProvider timeProvider) Obtains an instance ofLocalDateTimefrom a date and time.static OffsetDateOffsetDate.of(DateProvider dateProvider, ZoneOffset offset) Obtains an instance ofOffsetDatefrom a date provider.static OffsetDateTimeOffsetDateTime.of(DateProvider dateProvider, OffsetTime offsetTime) Obtains an instance ofOffsetDateTimefrom aDateProviderandOffsetTime.static OffsetDateTimeOffsetDateTime.of(DateProvider dateProvider, TimeProvider timeProvider, ZoneOffset offset) Obtains an instance ofOffsetDateTimefrom a date, time and zone offset.static ZonedDateTimeZonedDateTime.of(DateProvider dateProvider, TimeProvider timeProvider, TimeZone zone) Obtains an instance ofZonedDateTimefrom a local date and time where the date-time must be valid for the time-zone.static ZonedDateTimeZonedDateTime.of(DateProvider dateProvider, TimeProvider timeProvider, TimeZone zone, ZoneResolver resolver) Obtains an instance ofZonedDateTimefrom a local date and time providing a resolver to handle an invalid date-time.static LocalDateTimeLocalDateTime.ofMidnight(DateProvider dateProvider) Obtains an instance ofLocalDateTimefrom a date with the time set to midnight at the start of day.static OffsetDateTimeOffsetDateTime.ofMidnight(DateProvider dateProvider, ZoneOffset offset) Obtains an instance ofOffsetDateTimefrom a date with the time set to midnight at the start of day.OffsetDate.withDate(DateProvider dateProvider) Returns a copy of thisOffsetDatewith a different local date.static PeriodPeriod.yearsBetween(DateProvider startDateProvider, DateProvider endDateProvider) Obtains aPeriodconsisting of the number of years between two dates. -
Uses of DateProvider in javax.time.i18n
Classes in javax.time.i18n that implement DateProviderModifier and TypeClassDescriptionfinal classA date in the Coptic calendar system.final classA date in the Historic calendar system.