Top Fields Constructors Methods
de.undercouch.citeproc.helper.time

pack-priv Class ParsedDate

extends Object
implements TemporalAccessor
Class Inheritance
All Implemented Interfaces
java.time.temporal.TemporalAccessor
Imports
java.time.temporal.TemporalAccessor, .TemporalField, java.util.HashMap, .Map

Field Summary

Modifier and TypeField and Description
private final Map<TemporalField, Long>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public long
getLong(TemporalField field)

Implements java.time.temporal.TemporalAccessor.getLong.

Gets the value of the specified field as a long.

public boolean
isSupported(TemporalField field)

Implements java.time.temporal.TemporalAccessor.isSupported.

Checks if the specified field is supported.

public static ParsedDate
of(Long year, Long monthOfYear, Long dayOfMonth)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

valuesback to summary
private final Map<TemporalField, Long> values

Constructor Detail

ParsedDateback to summary
private ParsedDate(Map<TemporalField, Long> values)

Method Detail

getLongback to summary
public long getLong(TemporalField field)

Implements java.time.temporal.TemporalAccessor.getLong.

Doc from java.time.temporal.TemporalAccessor.getLong.

Gets the value of the specified field as a long.

This queries the date-time for the value of the specified field. The returned value may be outside the valid range of values for the field. If the date-time cannot return the value, because the field is unsupported or for some other reason, an exception will be thrown.

Annotations
@Override
isSupportedback to summary
public boolean isSupported(TemporalField field)

Implements java.time.temporal.TemporalAccessor.isSupported.

Doc from java.time.temporal.TemporalAccessor.isSupported.

Checks if the specified field is supported.

This checks if the date-time can be queried for the specified field. If false, then calling the range and get methods will throw an exception.

Annotations
@Override
ofback to summary
public static ParsedDate of(Long year, Long monthOfYear, Long dayOfMonth)