using the specified milliseconds as defined in XQuery 1.0 and XPath 2.0 Data Model, xdt:dayTimeDuration
xdt:dayTimeDuration is a subtype of
xs:duration whose lexical representation contains only day, hour, minute, and second components. This datatype resides in the namespace
All four values are set by computing their values from the specified milliseconds and are available using the
get methods of the created
Duration. The values conform to and are defined by:
The default start instance is defined by
GregorianCalendar's use of the start of the epoch: i.e.,
Calendar.YEAR = 1970,
Calendar.DATE = 1, etc. This is important as there are variations in the Gregorian Calendar, e.g. leap years have different days in the month =
Calendar.FEBRUARY so the result of
Duration.getDays() can be influenced.
Any remaining milliseconds after determining the day, hour, minute and second are discarded.