@Deprecated public class DateGroovyMethods extends DefaultGroovyMethodsSupport
Type Params | Return Type | Name and description |
---|---|---|
|
public static Date |
clearTime(Date self) |
|
public static Date |
clearTime(Date self) |
|
public static Calendar |
clearTime(Calendar self) |
|
public static Calendar |
copyWith(Calendar self, Map<Object, Integer> updates) |
|
public static Date |
copyWith(Date self, Map<Object, Integer> updates) |
|
public static void |
downto(Date self, Date to, Closure closure) |
|
public static void |
downto(Calendar self, Calendar to, Closure closure) |
|
public static String |
format(Date self, String format) |
|
public static String |
format(Date self, String format, TimeZone tz) |
|
public static String |
format(Calendar self, String pattern) |
|
public static int |
getAt(Date self, int field) |
|
public static int |
getAt(Calendar self, int field) |
|
public static String |
getDateString(Date self) |
|
public static String |
getDateTimeString(Date self) |
|
public static String |
getTimeString(Date self) |
|
public static Date |
minus(Date self, int days) |
|
public static Date |
minus(Date self, int days) |
|
public static Timestamp |
minus(Timestamp self, int days) |
|
public static int |
minus(Calendar self, Calendar then) |
|
public static int |
minus(Date self, Date then) |
|
public static Date |
next(Date self) |
|
public static Calendar |
next(Calendar self) |
|
public static Date |
next(Date self) |
|
public static Date |
plus(Date self, int days) |
|
public static Date |
plus(Date self, int days) |
|
public static Timestamp |
plus(Timestamp self, int days) |
|
public static Calendar |
previous(Calendar self) |
|
public static Date |
previous(Date self) |
|
public static Date |
previous(Date self) |
|
public static void |
putAt(Calendar self, int field, int value) |
|
public static void |
putAt(Date self, int field, int value) |
|
public static void |
set(Calendar self, Map<Object, Integer> updates) |
|
public static void |
set(Date self, Map<Object, Integer> updates) |
|
public static Calendar |
toCalendar(Date self) |
|
public static Calendar |
updated(Calendar self, Map<Object, Integer> updates) |
|
public static Date |
updated(Date self, Map<Object, Integer> updates) |
|
public static void |
upto(Date self, Date to, Closure closure) |
|
public static void |
upto(Calendar self, Calendar to, Closure closure) |