| Modifier and Type | Field and Description |
|---|---|
| private final TemporalAccessor | |
| public static final String | |
| private final TemporalAccessor | |
| private static final Logger | |
| private static final DateTimeFormatter | |
| private static final DateTimeFormatter |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public | Date(TemporalAccessor
the start date date, TemporalAccessor the start date endDate)Creates a Date from date and endDate. |
| Modifier and Type | Method and Description |
|---|---|
| private static Optional | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public Optional | |
| public Optional | |
| public Optional | |
| public String | |
| public Optional | |
| public int | |
| public static Optional | |
| public static Optional | |
| private static TemporalAccessor | Returns: the date information with TemporalAccessor typethe string which contain era indicator to extract the date information dateString)Create a date with a string with era indicator. |
| public String | |
| public TemporalAccessor |
| date | back to summary |
|---|---|
| private final TemporalAccessor date | |
| DATE_REGEX | back to summary |
|---|---|
| public static final String DATE_REGEX | |
| endDate | back to summary |
|---|---|
| private final TemporalAccessor endDate | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| NORMALIZED_DATE_FORMATTER | back to summary |
|---|---|
| private static final DateTimeFormatter NORMALIZED_DATE_FORMATTER | |
| SIMPLE_DATE_FORMATS | back to summary |
|---|---|
| private static final DateTimeFormatter SIMPLE_DATE_FORMATS | |
| Date | back to summary |
|---|---|
| public Date(int year, int month, int dayOfMonth) | |
| Date | back to summary |
|---|---|
| public Date(int year, int month) | |
| Date | back to summary |
|---|---|
| public Date(int year) | |
| Date | back to summary |
|---|---|
| public Date(TemporalAccessor date) | |
| Date | back to summary |
|---|---|
| public Date(TemporalAccessor date, TemporalAccessor endDate) Creates a Date from date and endDate.
| |
| convertToInt | back to summary |
|---|---|
| private static Optional | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| get | back to summary |
|---|---|
| public Optional | |
| getDay | back to summary |
|---|---|
| public Optional | |
| getMonth | back to summary |
|---|---|
| public Optional | |
| getNormalized | back to summary |
|---|---|
| public String getNormalized() | |
| getYear | back to summary |
|---|---|
| public Optional | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| parse | back to summary |
|---|---|
| public static Optional Creates a Date from date and endDate.
| |
| parse | back to summary |
|---|---|
| public static Optional | |
| parseDateWithEraIndicator | back to summary |
|---|---|
| private static TemporalAccessor parseDateWithEraIndicator(String dateString) Create a date with a string with era indicator.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| toTemporalAccessor | back to summary |
|---|---|
| public TemporalAccessor toTemporalAccessor() | |