gnu.xquery.util
Class TimeUtils
java.lang.Object
gnu.xquery.util.TimeUtils
public class TimeUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeUtils
public TimeUtils()
yearFromDateTime
public static java.lang.Object yearFromDateTime(java.lang.Object arg)
monthFromDateTime
public static java.lang.Object monthFromDateTime(java.lang.Object arg)
dayFromDateTime
public static java.lang.Object dayFromDateTime(java.lang.Object arg)
hoursFromDateTime
public static java.lang.Object hoursFromDateTime(java.lang.Object arg)
minutesFromDateTime
public static java.lang.Object minutesFromDateTime(java.lang.Object arg)
secondsFromDateTime
public static java.lang.Object secondsFromDateTime(java.lang.Object arg)
timezoneFromDateTime
public static java.lang.Object timezoneFromDateTime(java.lang.Object arg)
yearFromDate
public static java.lang.Object yearFromDate(java.lang.Object arg)
monthFromDate
public static java.lang.Object monthFromDate(java.lang.Object arg)
dayFromDate
public static java.lang.Object dayFromDate(java.lang.Object arg)
timezoneFromDate
public static java.lang.Object timezoneFromDate(java.lang.Object arg)
hoursFromTime
public static java.lang.Object hoursFromTime(java.lang.Object arg)
minutesFromTime
public static java.lang.Object minutesFromTime(java.lang.Object arg)
secondsFromTime
public static java.lang.Object secondsFromTime(java.lang.Object arg)
timezoneFromTime
public static java.lang.Object timezoneFromTime(java.lang.Object arg)
yearsFromDuration
public static java.lang.Object yearsFromDuration(java.lang.Object arg)
monthsFromDuration
public static java.lang.Object monthsFromDuration(java.lang.Object arg)
daysFromDuration
public static java.lang.Object daysFromDuration(java.lang.Object arg)
hoursFromDuration
public static java.lang.Object hoursFromDuration(java.lang.Object arg)
minutesFromDuration
public static java.lang.Object minutesFromDuration(java.lang.Object arg)
secondsBigDecimalFromDuration
public static java.math.BigDecimal secondsBigDecimalFromDuration(long s,
int n)
secondsFromDuration
public static java.lang.Object secondsFromDuration(java.lang.Object arg)
getImplicitTimezone
public static Duration getImplicitTimezone()
adjustDateTimeToTimezone
public static java.lang.Object adjustDateTimeToTimezone(java.lang.Object time)
adjustDateTimeToTimezone
public static java.lang.Object adjustDateTimeToTimezone(java.lang.Object time,
java.lang.Object zone)
adjustDateToTimezone
public static java.lang.Object adjustDateToTimezone(java.lang.Object time)
adjustDateToTimezone
public static java.lang.Object adjustDateToTimezone(java.lang.Object time,
java.lang.Object zone)
adjustTimeToTimezone
public static java.lang.Object adjustTimeToTimezone(java.lang.Object time)
adjustTimeToTimezone
public static java.lang.Object adjustTimeToTimezone(java.lang.Object time,
java.lang.Object zone)
now
public static DateTime now()
dateTime
public static java.lang.Object dateTime(java.lang.Object arg1,
java.lang.Object arg2)
currentDateTime
public static DateTime currentDateTime()
currentDate
public static DateTime currentDate()
currentTime
public static DateTime currentTime()
implicitTimezone
public static java.lang.Object implicitTimezone()