|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use TemporalAccessor | |
|---|---|
| org.threeten.bp | The main API for dates, times, instants, and durations. |
| org.threeten.bp.chrono | Support for calendar systems other than the default ISO. |
| org.threeten.bp.format | Provides classes to print and parse dates and times. |
| org.threeten.bp.jdk8 | Simulates JDK 8 features on JDK 7. |
| org.threeten.bp.temporal | Access to date and time using fields and units. |
| Uses of TemporalAccessor in org.threeten.bp |
|---|
| Classes in org.threeten.bp that implement TemporalAccessor | |
|---|---|
class |
DayOfWeek
A day-of-week, such as 'Tuesday'. |
class |
Instant
An instantaneous point on the time-line. |
class |
LocalDate
A date without a time-zone in the ISO-8601 calendar system, such as 2007-12-03. |
class |
LocalDateTime
A date-time without a time-zone in the ISO-8601 calendar system, such as 2007-12-03T10:15:30. |
class |
LocalTime
A time without time-zone in the ISO-8601 calendar system, such as 10:15:30. |
class |
Month
A month-of-year, such as 'July'. |
class |
MonthDay
A month-day in the ISO-8601 calendar system, such as --12-03. |
class |
OffsetDateTime
A date-time with an offset from UTC/Greenwich in the ISO-8601 calendar system, such as 2007-12-03T10:15:30+01:00. |
class |
OffsetTime
A time with an offset from UTC/Greenwich in the ISO-8601 calendar system, such as 10:15:30+01:00. |
class |
Year
A year in the ISO-8601 calendar system, such as 2007. |
class |
YearMonth
A year-month in the ISO-8601 calendar system, such as 2007-12. |
class |
ZonedDateTime
A date-time with a time-zone in the ISO-8601 calendar system, such as 2007-12-03T10:15:30+01:00 Europe/Paris. |
class |
ZoneOffset
A time-zone offset from Greenwich/UTC, such as +02:00. |
| Methods in org.threeten.bp with parameters of type TemporalAccessor | |
|---|---|
static ZoneOffset |
ZoneOffset.from(TemporalAccessor temporal)
Obtains an instance of ZoneOffset from a temporal object. |
static ZoneId |
ZoneId.from(TemporalAccessor temporal)
Obtains an instance of ZoneId from a temporal object. |
static ZonedDateTime |
ZonedDateTime.from(TemporalAccessor temporal)
Obtains an instance of ZonedDateTime from a temporal object. |
static YearMonth |
YearMonth.from(TemporalAccessor temporal)
Obtains an instance of YearMonth from a temporal object. |
static Year |
Year.from(TemporalAccessor temporal)
Obtains an instance of Year from a temporal object. |
static OffsetTime |
OffsetTime.from(TemporalAccessor temporal)
Obtains an instance of OffsetTime from a temporal object. |
static OffsetDateTime |
OffsetDateTime.from(TemporalAccessor temporal)
Obtains an instance of OffsetDateTime from a temporal object. |
static MonthDay |
MonthDay.from(TemporalAccessor temporal)
Obtains an instance of MonthDay from a temporal object. |
static Month |
Month.from(TemporalAccessor temporal)
Obtains an instance of Month from a temporal object. |
static LocalTime |
LocalTime.from(TemporalAccessor temporal)
Obtains an instance of LocalTime from a temporal object. |
static LocalDateTime |
LocalDateTime.from(TemporalAccessor temporal)
Obtains an instance of LocalDateTime from a temporal object. |
static LocalDate |
LocalDate.from(TemporalAccessor temporal)
Obtains an instance of LocalDate from a temporal object. |
static Instant |
Instant.from(TemporalAccessor temporal)
Obtains an instance of Instant from a temporal object. |
static DayOfWeek |
DayOfWeek.from(TemporalAccessor temporal)
Obtains an instance of DayOfWeek from a temporal object. |
| Uses of TemporalAccessor in org.threeten.bp.chrono |
|---|
| Subinterfaces of TemporalAccessor in org.threeten.bp.chrono | |
|---|---|
interface |
Era
An era of the time-line. |
| Classes in org.threeten.bp.chrono that implement TemporalAccessor | |
|---|---|
class |
ChronoLocalDate
A date without time-of-day or time-zone in an arbitrary chronology, intended for advanced globalization use cases. |
class |
ChronoLocalDateTime<D extends ChronoLocalDate>
A date-time without a time-zone in an arbitrary chronology, intended for advanced globalization use cases. |
class |
ChronoZonedDateTime<D extends ChronoLocalDate>
A date-time with a time-zone in an arbitrary chronology, intended for advanced globalization use cases. |
class |
HijrahDate
A date in the Hijrah calendar system. |
class |
HijrahEra
An era in the Hijrah calendar system. |
class |
IsoEra
An era in the ISO calendar system. |
class |
JapaneseDate
A date in the Japanese Imperial calendar system. |
class |
JapaneseEra
An era in the Japanese Imperial calendar system. |
class |
MinguoDate
A date in the Minguo calendar system. |
class |
MinguoEra
An era in the Minguo calendar system. |
class |
ThaiBuddhistDate
A date in the Thai Buddhist calendar system. |
class |
ThaiBuddhistEra
An era in the Thai Buddhist calendar system. |
| Methods in org.threeten.bp.chrono with parameters of type TemporalAccessor | |
|---|---|
ThaiBuddhistDate |
ThaiBuddhistChronology.date(TemporalAccessor temporal)
|
MinguoDate |
MinguoChronology.date(TemporalAccessor temporal)
|
JapaneseDate |
JapaneseChronology.date(TemporalAccessor temporal)
|
LocalDate |
IsoChronology.date(TemporalAccessor temporal)
Obtains an ISO local date from another date-time object. |
HijrahDate |
HijrahChronology.date(TemporalAccessor temporal)
|
abstract ChronoLocalDate |
Chronology.date(TemporalAccessor temporal)
Obtains a local date in this chronology from another temporal object. |
static ThaiBuddhistDate |
ThaiBuddhistDate.from(TemporalAccessor temporal)
Obtains a ThaiBuddhistDate from a temporal object. |
static MinguoDate |
MinguoDate.from(TemporalAccessor temporal)
Obtains a MinguoDate from a temporal object. |
static JapaneseDate |
JapaneseDate.from(TemporalAccessor temporal)
Obtains a JapaneseDate from a temporal object. |
static HijrahDate |
HijrahDate.from(TemporalAccessor temporal)
Obtains a HijrahDate of the Islamic Umm Al-Qura calendar from a temporal object. |
static ChronoZonedDateTime<?> |
ChronoZonedDateTime.from(TemporalAccessor temporal)
Obtains an instance of ChronoZonedDateTime from a temporal object. |
static Chronology |
Chronology.from(TemporalAccessor temporal)
Obtains an instance of Chronology from a temporal object. |
static ChronoLocalDateTime<?> |
ChronoLocalDateTime.from(TemporalAccessor temporal)
Obtains an instance of ChronoLocalDateTime from a temporal object. |
static ChronoLocalDate |
ChronoLocalDate.from(TemporalAccessor temporal)
Obtains an instance of ChronoLocalDate from a temporal object. |
ChronoLocalDateTime<ThaiBuddhistDate> |
ThaiBuddhistChronology.localDateTime(TemporalAccessor temporal)
|
ChronoLocalDateTime<MinguoDate> |
MinguoChronology.localDateTime(TemporalAccessor temporal)
|
ChronoLocalDateTime<JapaneseDate> |
JapaneseChronology.localDateTime(TemporalAccessor temporal)
|
LocalDateTime |
IsoChronology.localDateTime(TemporalAccessor temporal)
Obtains an ISO local date-time from another date-time object. |
ChronoLocalDateTime<HijrahDate> |
HijrahChronology.localDateTime(TemporalAccessor temporal)
|
ChronoLocalDateTime<?> |
Chronology.localDateTime(TemporalAccessor temporal)
Obtains a local date-time in this chronology from another temporal object. |
ChronoZonedDateTime<ThaiBuddhistDate> |
ThaiBuddhistChronology.zonedDateTime(TemporalAccessor temporal)
|
ChronoZonedDateTime<MinguoDate> |
MinguoChronology.zonedDateTime(TemporalAccessor temporal)
|
ChronoZonedDateTime<JapaneseDate> |
JapaneseChronology.zonedDateTime(TemporalAccessor temporal)
|
ZonedDateTime |
IsoChronology.zonedDateTime(TemporalAccessor temporal)
Obtains an ISO zoned date-time from another date-time object. |
ChronoZonedDateTime<HijrahDate> |
HijrahChronology.zonedDateTime(TemporalAccessor temporal)
|
ChronoZonedDateTime<?> |
Chronology.zonedDateTime(TemporalAccessor temporal)
Obtains a zoned date-time in this chronology from another temporal object. |
| Uses of TemporalAccessor in org.threeten.bp.format |
|---|
| Methods in org.threeten.bp.format that return TemporalAccessor | |
|---|---|
TemporalAccessor |
DateTimeFormatter.parse(CharSequence text)
Fully parses the text producing a temporal object. |
TemporalAccessor |
DateTimeFormatter.parse(CharSequence text,
ParsePosition position)
Parses the text using this formatter, providing control over the text position. |
TemporalAccessor |
DateTimeFormatter.parseBest(CharSequence text,
TemporalQuery<?>... types)
Fully parses the text producing an object of one of the specified types. |
TemporalAccessor |
DateTimeFormatter.parseUnresolved(CharSequence text,
ParsePosition position)
Parses the text using this formatter, without resolving the result, intended for advanced use cases. |
| Methods in org.threeten.bp.format with parameters of type TemporalAccessor | |
|---|---|
String |
DateTimeFormatter.format(TemporalAccessor temporal)
Formats a date-time object using this formatter. |
void |
DateTimeFormatter.formatTo(TemporalAccessor temporal,
Appendable appendable)
Formats a date-time object to an Appendable using this formatter. |
| Uses of TemporalAccessor in org.threeten.bp.jdk8 |
|---|
| Classes in org.threeten.bp.jdk8 that implement TemporalAccessor | |
|---|---|
class |
DefaultInterfaceEra
A temporary class providing implementations that will become default interface methods once integrated into JDK 8. |
class |
DefaultInterfaceTemporal
A temporary class providing implementations that will become default interface methods once integrated into JDK 8. |
class |
DefaultInterfaceTemporalAccessor
A temporary class providing implementations that will become default interface methods once integrated into JDK 8. |
| Uses of TemporalAccessor in org.threeten.bp.temporal |
|---|
| Subinterfaces of TemporalAccessor in org.threeten.bp.temporal | |
|---|---|
interface |
Temporal
Framework-level interface defining read-write access to a temporal object, such as a date, time, offset or some combination of these. |
| Methods in org.threeten.bp.temporal that return TemporalAccessor | |
|---|---|
TemporalAccessor |
TemporalField.resolve(Map<TemporalField,Long> fieldValues,
TemporalAccessor partialTemporal,
ResolverStyle resolverStyle)
Resolves the date/time information in the builder |
TemporalAccessor |
ChronoField.resolve(Map<TemporalField,Long> fieldValues,
TemporalAccessor partialTemporal,
ResolverStyle resolverStyle)
|
| Methods in org.threeten.bp.temporal with parameters of type TemporalAccessor | |
|---|---|
long |
TemporalField.getFrom(TemporalAccessor temporal)
Gets the value of this field from the specified temporal object. |
long |
ChronoField.getFrom(TemporalAccessor temporal)
|
boolean |
TemporalField.isSupportedBy(TemporalAccessor temporal)
Checks if this field is supported by the temporal object. |
boolean |
ChronoField.isSupportedBy(TemporalAccessor temporal)
|
R |
TemporalQuery.queryFrom(TemporalAccessor temporal)
Queries the specified temporal object. |
ValueRange |
TemporalField.rangeRefinedBy(TemporalAccessor temporal)
Get the range of valid values for this field using the temporal object to refine the result. |
ValueRange |
ChronoField.rangeRefinedBy(TemporalAccessor temporal)
|
TemporalAccessor |
TemporalField.resolve(Map<TemporalField,Long> fieldValues,
TemporalAccessor partialTemporal,
ResolverStyle resolverStyle)
Resolves the date/time information in the builder |
TemporalAccessor |
ChronoField.resolve(Map<TemporalField,Long> fieldValues,
TemporalAccessor partialTemporal,
ResolverStyle resolverStyle)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||