public class OrdinalDate extends IsoDate
This class describes an ordinal date as defined by ISO 8601.
Constructor | Description |
---|---|
OrdinalDate(Integer year,
Integer dayOfYear) |
Creates a new calendar date with the specified year and day.
|
Modifier and Type | Method | Description |
---|---|---|
Integer |
dayOfYear() |
|
boolean |
equals(Object o) |
|
int |
hashCode() |
|
String |
toString() |
Returns this date in ISO 8601 format.
|
TimePoint |
toTimePoint(Time t,
TimeZone tz) |
Returns a point in time represented by this date and a supplied
time of day.
|
Integer |
year() |
public Integer year()
public Integer dayOfYear()
public String toString()
IsoDate
public TimePoint toTimePoint(Time t, TimeZone tz)
IsoDate
toTimePoint
in class IsoDate
t
- A time of day. May be null.tz
- The timezone.Copyright © 2021 Apptus Technologies AB. All rights reserved.