org.codehaus.groovy.runtime
Class TimeCategory
TimeCategory
TimeCategory()
-
getDay
public static Duration getDay(Integer self)
-
getDaylightSavingsOffset
public static Duration getDaylightSavingsOffset(Date self)
-
getDaylightSavingsOffset
public static Duration getDaylightSavingsOffset(BaseDuration self)
-
getDays
public static Duration getDays(Integer self)
-
getHour
public static TimeDuration getHour(Integer self)
-
getHours
public static TimeDuration getHours(Integer self)
-
getMillisecond
public static TimeDuration getMillisecond(Integer self)
-
getMilliseconds
public static TimeDuration getMilliseconds(Integer self)
-
getMinute
public static TimeDuration getMinute(Integer self)
-
getMinutes
public static TimeDuration getMinutes(Integer self)
-
getMonth
public static DatumDependentDuration getMonth(Integer self)
-
getMonths
public static DatumDependentDuration getMonths(Integer self)
-
getRelativeDaylightSavingsOffset
public static Duration getRelativeDaylightSavingsOffset(Date self, Date other)
-
getSecond
public static TimeDuration getSecond(Integer self)
-
getSeconds
public static TimeDuration getSeconds(Integer self)
-
getTimeZone
public static TimeZone getTimeZone(Date self)
-
getWeek
public static Duration getWeek(Integer self)
-
getWeeks
public static Duration getWeeks(Integer self)
-
getYear
public static DatumDependentDuration getYear(Integer self)
-
getYears
public static DatumDependentDuration getYears(Integer self)
-
minus
public static Date minus(Date date, BaseDuration duration)
-
minus
public static TimeDuration minus(Date lhs, Date rhs)
-
plus
public static Date plus(Date date, BaseDuration duration)
-