Package | Description |
---|---|
javax.time.calendar |
Provides classes to manage the human time scale including date, time,
date-time and time-zone representations.
|
javax.time.calendar.format |
Provides classes to format dates and times as strings.
|
javax.time.i18n |
Provides classes representing dates and times in alternate calendar systems.
|
Modifier and Type | Class and Description |
---|---|
class |
DateTimeFieldRule<T>
The rule defining how a measurable field of time operates.
|
Modifier and Type | Method and Description |
---|---|
static CalendricalRule<Long> |
ISOChronology.epochDays()
Gets the rule for the epoch-days field.
|
CalendricalRule<?> |
CalendricalRuleException.getRule()
Gets the rule that is connected to the exception.
|
static CalendricalRule<Long> |
ISOChronology.nanoOfDayRule()
Gets the rule for the nano-of-day field.
|
static CalendricalRule<YearMonth> |
YearMonth.rule()
Gets the rule for the year-month.
|
static CalendricalRule<ZoneOffset> |
ZoneOffset.rule()
Gets the rule for the zone-offset.
|
static CalendricalRule<MonthDay> |
MonthDay.rule()
Gets the rule for the month-day.
|
static CalendricalRule<LocalTime> |
LocalTime.rule()
Gets the rule for
LocalTime . |
static CalendricalRule<TimeZone> |
TimeZone.rule()
Gets the rule for
TimeZone . |
static CalendricalRule<ZonedDateTime> |
ZonedDateTime.rule()
Gets the rule for
ZonedDateTime . |
static CalendricalRule<OffsetTime> |
OffsetTime.rule()
Gets the rule for
OffsetTime . |
static CalendricalRule<Chronology> |
Chronology.rule()
Gets the rule for
Chronology . |
static CalendricalRule<LocalDate> |
LocalDate.rule()
Gets the rule for
LocalDate . |
static CalendricalRule<OffsetDate> |
OffsetDate.rule()
Gets the rule for
OffsetDate . |
static CalendricalRule<LocalDateTime> |
LocalDateTime.rule()
Gets the rule for
LocalDateTime . |
static CalendricalRule<OffsetDateTime> |
OffsetDateTime.rule()
Gets the rule for
OffsetDateTime . |
Modifier and Type | Method and Description |
---|---|
Map<CalendricalRule<?>,Object> |
CalendricalMerger.getInputMap()
Gets the underlying rule-value map that is being merged.
|
Modifier and Type | Method and Description |
---|---|
int |
CalendricalRule.compareTo(CalendricalRule<?> other)
Compares this
CalendricalRule to another. |
<R> R |
CalendricalRule.deriveValueFor(CalendricalRule<R> rule,
T value,
Calendrical calendrical,
Chronology chronology)
Derives the value of the specified rule from a calendrical.
|
<T> T |
Year.get(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule.
|
<T> T |
QuarterOfYear.get(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule.
|
<T> T |
DateTimeFields.get(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule.
|
<T> T |
YearMonth.get(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule.
|
<T> T |
CalendricalMerger.get(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule from the merged result.
|
<T> T |
ZoneOffset.get(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule.
|
<T> T |
MonthDay.get(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule.
|
<T> T |
DayOfWeek.get(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule.
|
<T> T |
LocalTime.get(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule.
|
<T> T |
TimeZone.get(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule.
|
<T> T |
ZonedDateTime.get(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule.
|
<T> T |
OffsetTime.get(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule.
|
<T> T |
MonthOfYear.get(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule.
|
<T> T |
Chronology.get(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule.
|
<T> T |
LocalDate.get(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule.
|
<T> T |
OffsetDate.get(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule.
|
<T> T |
LocalDateTime.get(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule.
|
<T> T |
AmPmOfDay.get(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule.
|
<T> T |
OffsetDateTime.get(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule.
|
<T> T |
Calendrical.get(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule.
|
<T> T |
CalendricalMerger.getValue(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule from the merged result.
|
void |
CalendricalMerger.removeProcessed(CalendricalRule<?> rule)
Removes a rule and its value from the map being processed.
|
<T> void |
CalendricalMerger.storeMerged(CalendricalRule<T> rule,
T value)
Stores a rule-value pair into this map ensuring that it does not clash
with any previous value defined for that rule.
|
Constructor and Description |
---|
CalendricalRuleException(String message,
CalendricalRule<?> fieldRule)
Constructs a new exception with a message and optional rule.
|
InvalidCalendarFieldException(String message,
CalendricalRule<?> rule)
Constructs a new invalid field exception.
|
UnsupportedRuleException(CalendricalRule<?> rule)
Constructs a new unsupported field exception creating a standard error message.
|
UnsupportedRuleException(String message,
CalendricalRule<?> rule)
Constructs a new unsupported field exception using the specified error message.
|
Constructor and Description |
---|
CalendricalMerger(CalendricalContext context,
Map<CalendricalRule<?>,Object> inputMap)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
CalendricalRule<?> |
CalendricalPrintFieldException.getRule()
Gets the rule that caused the exception.
|
Modifier and Type | Method and Description |
---|---|
Set<CalendricalRule<?>> |
DateTimeParseContext.getParsedRules()
Gets the set of parsed rules.
|
Modifier and Type | Method and Description |
---|---|
Object |
DateTimeParseContext.getParsed(CalendricalRule<?> rule)
Gets the parsed value for the specified rule.
|
<T> T |
DateTimeFormatter.parse(String text,
CalendricalRule<T> rule)
Fully parses the text producing an object of the type defined by the rule.
|
void |
DateTimeParseContext.setParsed(CalendricalRule<?> rule,
Object value)
Sets the parsed value associated with the specified rule.
|
Modifier and Type | Method and Description |
---|---|
static CalendricalRule<CopticDate> |
CopticDate.rule()
Gets the rule for
CopticDate . |
static CalendricalRule<HistoricDate> |
HistoricDate.rule()
Gets the field rule for
HistoricDate . |
Modifier and Type | Method and Description |
---|---|
<T> T |
HistoricEra.get(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule.
|
<T> T |
CopticDate.get(CalendricalRule<T> rule)
Gets the value of the specified calendrical rule.
|
<T> T |
HistoricDate.get(CalendricalRule<T> rule)
Gets the value of the specified calendar field.
|
Copyright © 2014. All rights reserved.