us.bpsm.edn.parser
Class ParsedInstant
- java.lang.Object
-
- us.bpsm.edn.parser.ParsedInstant
-
public class ParsedInstant extends java.lang.ObjectParsedInstant contains the pared contents of a RFC3339 style time stamp.- See Also:
AbstractInstantHandler
-
-
Field Summary
Fields Modifier and Type Field and Description intdaysDay of the month: 01-28, 01-29, 01-30, 01-31 based on month/year.inthoursHours of the day: 00-23.intminutesMinutes of the hour: 00-59.intmonthsMonth of the year: 01-12.intnanosecondsNanoseconds of the second: 0-999999999.intoffsetHoursThe whole hour component of the time zone offset: [0-23].intoffsetMinutesThe minute component of the time zone offset: [0-59].intoffsetSignThe sign of the timezone offset as follows:intsecondsSeconds of the minute: 00-58, 00-59, 00-60 based on leap second rules.intyearsThe year: -9999-9999.
-
Constructor Summary
Constructors Constructor and Description ParsedInstant(int years, int months, int days, int hours, int minutes, int seconds, int nanoseconds, int offsetSign, int offsetHours, int offsetMinutes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanequals(java.lang.Object obj)inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
years
public final int years
The year: -9999-9999.
-
months
public final int months
Month of the year: 01-12. Defaults to 1 of missing.
-
days
public final int days
Day of the month: 01-28, 01-29, 01-30, 01-31 based on month/year. Defaults to 0 of missing.
-
hours
public final int hours
Hours of the day: 00-23. Defaults to 0 of missing.
-
minutes
public final int minutes
Minutes of the hour: 00-59. Defaults to 0 of missing.
-
seconds
public final int seconds
Seconds of the minute: 00-58, 00-59, 00-60 based on leap second rules. Defaults to 0 of missing.
-
nanoseconds
public final int nanoseconds
Nanoseconds of the second: 0-999999999. Defaults to 0 if missing.
-
offsetSign
public final int offsetSign
The sign of the timezone offset as follows:
Defaults to 0 if missing.-1 for the sign "-" +1 for the sign "+" 0 when non-numeric offset "Z" is given
-
offsetHours
public final int offsetHours
The whole hour component of the time zone offset: [0-23]. If the offset is given as "Z", this will be 0. Defaults to 0 if missing.
-
offsetMinutes
public final int offsetMinutes
The minute component of the time zone offset: [0-59]. If the offset is given as "Z", this will be 0. Defaults to 0 if missing.
-
-
DMelt 3.0 © DataMelt by jWork.ORG