org.codehaus.groovy.runtime
TimeCategory
public class TimeCategory extends Object
Constructor and Description |
---|
TimeCategory()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Duration |
getDay(Integer self)
Deprecated.
|
static Duration |
getDaylightSavingsOffset(BaseDuration self)
Deprecated.
|
static Duration |
getDaylightSavingsOffset(Date self)
Deprecated.
|
static Duration |
getDays(Integer self)
Deprecated.
|
static TimeDuration |
getHour(Integer self)
Deprecated.
|
static TimeDuration |
getHours(Integer self)
Deprecated.
|
static TimeDuration |
getMillisecond(Integer self)
Deprecated.
|
static TimeDuration |
getMilliseconds(Integer self)
Deprecated.
|
static TimeDuration |
getMinute(Integer self)
Deprecated.
|
static TimeDuration |
getMinutes(Integer self)
Deprecated.
|
static DatumDependentDuration |
getMonth(Integer self)
Deprecated.
|
static DatumDependentDuration |
getMonths(Integer self)
Deprecated.
|
static Duration |
getRelativeDaylightSavingsOffset(Date self,
Date other)
Deprecated.
|
static TimeDuration |
getSecond(Integer self)
Deprecated.
|
static TimeDuration |
getSeconds(Integer self)
Deprecated.
|
static TimeZone |
getTimeZone(Date self)
Deprecated.
|
static Duration |
getWeek(Integer self)
Deprecated.
|
static Duration |
getWeeks(Integer self)
Deprecated.
|
static DatumDependentDuration |
getYear(Integer self)
Deprecated.
|
static DatumDependentDuration |
getYears(Integer self)
Deprecated.
|
static Date |
minus(Date date,
BaseDuration duration)
Deprecated.
|
static TimeDuration |
minus(Date lhs,
Date rhs)
Deprecated.
|
static Date |
plus(Date date,
BaseDuration duration)
Deprecated.
|
public static Date plus(Date date, BaseDuration duration)
public static Date minus(Date date, BaseDuration duration)
public static Duration getDaylightSavingsOffset(BaseDuration self)
public static Duration getRelativeDaylightSavingsOffset(Date self, Date other)
public static TimeDuration minus(Date lhs, Date rhs)
public static DatumDependentDuration getMonths(Integer self)
public static DatumDependentDuration getMonth(Integer self)
public static DatumDependentDuration getYears(Integer self)
public static DatumDependentDuration getYear(Integer self)
public static TimeDuration getHours(Integer self)
public static TimeDuration getHour(Integer self)
public static TimeDuration getMinutes(Integer self)
public static TimeDuration getMinute(Integer self)
public static TimeDuration getSeconds(Integer self)
public static TimeDuration getSecond(Integer self)
public static TimeDuration getMilliseconds(Integer self)
public static TimeDuration getMillisecond(Integer self)