-
year
java.math.BigInteger year
year value.
this variable is null if no year is specified.
Since there is no year 0, value 0 indicates year -1. -1 indicates -2, and so forth.
-
month
java.lang.Integer month
month (always between 0 and 11)
this variable is null if no year is specified
-
day
java.lang.Integer day
day (always normalized, between 0-30)
this variable is null if no year is specified
-
hour
java.lang.Integer hour
hour (always between 0 and 23)
this variable is null if no year is specified
-
minute
java.lang.Integer minute
minute (always between 0 and 59)
this variable is null if no year is specified
-
second
java.math.BigDecimal second
second (always in [0,60) )
this variable is null if no year is specified
-
zone
java.util.TimeZone zone
time zone specifier. null if missing
-
normalizedValue
IDateTimeValueType normalizedValue
normalized DateTimeValue of this object.
once when the normalized value is computed,
the value is kept in this varible so that
successive calls to normalize method need not
have to compute it again.
This approach assumes that modification to the date/time component
will never be made.