Package org.codehaus.groovy.runtime
Class DateGroovyMethods
- java.lang.Object
-
- org.codehaus.groovy.runtime.DefaultGroovyMethodsSupport
-
- org.codehaus.groovy.runtime.DateGroovyMethods
-
@Deprecated public class DateGroovyMethods extends DefaultGroovyMethodsSupport
Deprecated.use DateUtilExtensions instead
-
-
Constructor Summary
Constructors Constructor Description DateGroovyMethods()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DateclearTime(Date self)Deprecated.static CalendarclearTime(Calendar self)Deprecated.static DateclearTime(Date self)Deprecated.static CalendarcopyWith(Calendar self, Map<Object,Integer> updates)Deprecated.static DatecopyWith(Date self, Map<Object,Integer> updates)Deprecated.static voiddownto(Calendar self, Calendar to, Closure closure)Deprecated.static voiddownto(Date self, Date to, Closure closure)Deprecated.static Stringformat(Calendar self, String pattern)Deprecated.static Stringformat(Date self, String format)Deprecated.static Stringformat(Date self, String format, TimeZone tz)Deprecated.static intgetAt(Calendar self, int field)Deprecated.static intgetAt(Date self, int field)Deprecated.static StringgetDateString(Date self)Deprecated.static StringgetDateTimeString(Date self)Deprecated.static StringgetTimeString(Date self)Deprecated.static Dateminus(Date self, int days)Deprecated.static Timestampminus(Timestamp self, int days)Deprecated.static intminus(Calendar self, Calendar then)Deprecated.static Dateminus(Date self, int days)Deprecated.static intminus(Date self, Date then)Deprecated.static Datenext(Date self)Deprecated.static Calendarnext(Calendar self)Deprecated.static Datenext(Date self)Deprecated.static Dateplus(Date self, int days)Deprecated.static Timestampplus(Timestamp self, int days)Deprecated.static Dateplus(Date self, int days)Deprecated.static Dateprevious(Date self)Deprecated.static Calendarprevious(Calendar self)Deprecated.static Dateprevious(Date self)Deprecated.static voidputAt(Calendar self, int field, int value)Deprecated.static voidputAt(Date self, int field, int value)Deprecated.static voidset(Calendar self, Map<Object,Integer> updates)Deprecated.static voidset(Date self, Map<Object,Integer> updates)Deprecated.static CalendartoCalendar(Date self)Deprecated.static Calendarupdated(Calendar self, Map<Object,Integer> updates)Deprecated.static Dateupdated(Date self, Map<Object,Integer> updates)Deprecated.static voidupto(Calendar self, Calendar to, Closure closure)Deprecated.static voidupto(Date self, Date to, Closure closure)Deprecated.-
Methods inherited from class org.codehaus.groovy.runtime.DefaultGroovyMethodsSupport
cloneSimilarCollection, cloneSimilarMap, closeQuietly, closeWithWarning, createSimilarArray, createSimilarCollection, createSimilarCollection, createSimilarCollection, createSimilarList, createSimilarMap, createSimilarOrDefaultCollection, createSimilarQueue, createSimilarSet, normaliseIndex, sameType, subListBorders, subListBorders, writeUTF16BomIfRequired, writeUTF16BomIfRequired, writeUTF16BomIfRequired, writeUTF16BomIfRequired
-
-
-
-
Method Detail
-
getAt
@Deprecated public static int getAt(Date self, int field)
Deprecated.
-
toCalendar
@Deprecated public static Calendar toCalendar(Date self)
Deprecated.
-
getAt
@Deprecated public static int getAt(Calendar self, int field)
Deprecated.
-
putAt
@Deprecated public static void putAt(Calendar self, int field, int value)
Deprecated.
-
putAt
@Deprecated public static void putAt(Date self, int field, int value)
Deprecated.
-
set
@Deprecated public static void set(Calendar self, Map<Object,Integer> updates)
Deprecated.
-
updated
@Deprecated public static Calendar updated(Calendar self, Map<Object,Integer> updates)
Deprecated.
-
copyWith
@Deprecated public static Calendar copyWith(Calendar self, Map<Object,Integer> updates)
Deprecated.
-
set
@Deprecated public static void set(Date self, Map<Object,Integer> updates)
Deprecated.
-
updated
@Deprecated public static Date updated(Date self, Map<Object,Integer> updates)
Deprecated.
-
copyWith
@Deprecated public static Date copyWith(Date self, Map<Object,Integer> updates)
Deprecated.
-
next
@Deprecated public static Date next(Date self)
Deprecated.
-
next
@Deprecated public static Calendar next(Calendar self)
Deprecated.
-
previous
@Deprecated public static Calendar previous(Calendar self)
Deprecated.
-
next
@Deprecated public static Date next(Date self)
Deprecated.
-
previous
@Deprecated public static Date previous(Date self)
Deprecated.
-
previous
@Deprecated public static Date previous(Date self)
Deprecated.
-
plus
@Deprecated public static Date plus(Date self, int days)
Deprecated.
-
plus
@Deprecated public static Date plus(Date self, int days)
Deprecated.
-
plus
@Deprecated public static Timestamp plus(Timestamp self, int days)
Deprecated.
-
minus
@Deprecated public static Date minus(Date self, int days)
Deprecated.
-
minus
@Deprecated public static Date minus(Date self, int days)
Deprecated.
-
minus
@Deprecated public static Timestamp minus(Timestamp self, int days)
Deprecated.
-
minus
@Deprecated public static int minus(Calendar self, Calendar then)
Deprecated.
-
minus
@Deprecated public static int minus(Date self, Date then)
Deprecated.
-
format
@Deprecated public static String format(Date self, String format)
Deprecated.
-
format
@Deprecated public static String format(Date self, String format, TimeZone tz)
Deprecated.
-
getDateString
@Deprecated public static String getDateString(Date self)
Deprecated.
-
getTimeString
@Deprecated public static String getTimeString(Date self)
Deprecated.
-
getDateTimeString
@Deprecated public static String getDateTimeString(Date self)
Deprecated.
-
clearTime
@Deprecated public static Date clearTime(Date self)
Deprecated.
-
clearTime
@Deprecated public static Date clearTime(Date self)
Deprecated.
-
clearTime
@Deprecated public static Calendar clearTime(Calendar self)
Deprecated.
-
format
@Deprecated public static String format(Calendar self, String pattern)
Deprecated.
-
upto
@Deprecated public static void upto(Date self, Date to, Closure closure)
Deprecated.
-
upto
@Deprecated public static void upto(Calendar self, Calendar to, Closure closure)
Deprecated.
-
downto
@Deprecated public static void downto(Date self, Date to, Closure closure)
Deprecated.
-
downto
@Deprecated public static void downto(Calendar self, Calendar to, Closure closure)
Deprecated.
-
-