Package javax.time.calendar
package javax.time.calendar
Provides classes to manage the human time scale including date, time,
date-time and time-zone representations.
-
ClassDescriptionA half-day before or after midday, with the values 'AM' and 'PM'.An exception used when conversion of a calendrical date-time object fails.Provides access in a uniform way to calendrical values.Context for aspects of date-time calculations that frequently change.Strategy for matching against a calendrical.Provides common implementations of
CalendricalMatcher
.Class implementing day-of-week in month matcher.Enum implementing the adjusters.Stateful class used to merge calendrical information.A rule defining how a single well-defined calendrical element operates.An exception used when an exception is connected to a specified rule.A calendar system, consisting of rules controlling the passage of human-scale time.Rule implementation.A clock providing access to the current date and time.Implementation of a clock based on a time-source.Strategy for adjusting a date.Provides common implementations ofDateAdjuster
.Class implementing day-of-week in month adjuster.Enum implementing the adjusters.Implementation of next, previous or current day-of-week.Provides access to a date in the ISO-8601 calendar system.Strategy for resolving an invalid year-month-day to a valid one.Provides common implementations ofDateResolver
.Class implementing nextValid resolver.Class implementing partLenient resolver.Class implementing previousValid resolver.Class implementing strict resolver.The rule defining how a measurable field of time operates.The mapping between integer values and textual representations.A set of date-time fields.Provides access to a date-time in the ISO-8601 calendar system.A day-of-week, such as 'Tuesday'.An exception used when a value specified for a calendrical field is out of range.An exception used when a calendrical field is invalid.The ISO-8601 calendar system, which follows the rules of the current de facto world calendar.Rule implementation.Rule implementation.Rule implementation.Rule implementation.Rule implementation.Rule implementation.Single rule subclass, which means fewer classes to load at startup.Single unit subclass, which means fewer classes to load at startup.A date without a time-zone in the ISO-8601 calendar system, such as2007-12-03
.Rule implementation.A date-time without a time-zone in the ISO-8601 calendar system, such as2007-12-03T10:15:30
.Rule implementation.A time without time-zone in the ISO-8601 calendar system, such as10:15:30
.The result of addition to aLocalTime
allowing the expression of any overflow in days.Rule implementation.A month-day in the ISO-8601 calendar system, such as--12-03
.Rule implementation.A month-of-year, such as 'July'.A date with a zone offset from UTC in the ISO-8601 calendar system, such as2007-12-03+01:00
.Rule implementation.A date-time with a zone offset from UTC in the ISO-8601 calendar system, such as2007-12-03T10:15:30+01:00
.Rule implementation.A time with a zone offset from UTC in the ISO-8601 calendar system, such as10:15:30+01:00
.Rule implementation.An immutable period consisting of the ISO-8601 year, month, day, hour, minute, second and nanosecond units, such as '3 Months, 4 Days and 7 Hours'.A period of time measured using a single unit, such as '3 Days' or '65 Seconds'.A period of time measured using a number of different units, such as '3 Months, 4 Days and 7 Hours'.An period parser that creates an instance ofPeriod
from a string using the ISO8601 period formatPnYnMnDTnHnMn.nS
.Parse values container created for each parse.Provides access to a period of time, such as '2 Years and 5 Months'.A unit of time for measuring a period, such as 'Days' or 'Minutes'.A quarter-of-year, such as 'Q2'.Strategy for adjusting a time.Provides access to a time in the ISO-8601 calendar system.A time-zone representing the set of rules by which the zone offset varies through the year and historically.Fixed time-zone.ID based time-zone.Rule implementation.An exception used when the value for a rule cannot be found.A year in the ISO-8601 calendar system, such as2007
.A year-month in the ISO-8601 calendar system, such as2007-12
.Rule implementation.A date-time with a time-zone in the ISO-8601 calendar system, such as2007-12-03T10:15:30+01:00 Europe/Paris
.Rule implementation.A time-zone offset from UTC, such as+02:00
.Rule implementation.Strategy for resolving aLocalDateTime
to anOffsetDateTime
using the rules of the time-zone.Provides common implementations ofZoneResolver
.Class implementing combination resolver.Class implementing postGapPreOverlap resolver.Class implementing postTransition resolver.Class implementing preTransition resolver.Class implementing push forward resolver.Class implementing retain offset resolver.Class implementing strict resolver.