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
Modifier and Type Method Description static Date
clearTime(Date self)
Deprecated.static Calendar
clearTime(Calendar self)
Deprecated.static Date
clearTime(Date self)
Deprecated.static Calendar
copyWith(Calendar self, Map<Object,Integer> updates)
Deprecated.static Date
copyWith(Date self, Map<Object,Integer> updates)
Deprecated.static void
downto(Calendar self, Calendar to, Closure closure)
Deprecated.static void
downto(Date self, Date to, Closure closure)
Deprecated.static String
format(Calendar self, String pattern)
Deprecated.static String
format(Date self, String format)
Deprecated.static String
format(Date self, String format, TimeZone tz)
Deprecated.static int
getAt(Calendar self, int field)
Deprecated.static int
getAt(Date self, int field)
Deprecated.static String
getDateString(Date self)
Deprecated.static String
getDateTimeString(Date self)
Deprecated.static String
getTimeString(Date self)
Deprecated.static Date
minus(Date self, int days)
Deprecated.static Timestamp
minus(Timestamp self, int days)
Deprecated.static int
minus(Calendar self, Calendar then)
Deprecated.static Date
minus(Date self, int days)
Deprecated.static int
minus(Date self, Date then)
Deprecated.static Date
next(Date self)
Deprecated.static Calendar
next(Calendar self)
Deprecated.static Date
next(Date self)
Deprecated.static Date
plus(Date self, int days)
Deprecated.static Timestamp
plus(Timestamp self, int days)
Deprecated.static Date
plus(Date self, int days)
Deprecated.static Date
previous(Date self)
Deprecated.static Calendar
previous(Calendar self)
Deprecated.static Date
previous(Date self)
Deprecated.static void
putAt(Calendar self, int field, int value)
Deprecated.static void
putAt(Date self, int field, int value)
Deprecated.static void
set(Calendar self, Map<Object,Integer> updates)
Deprecated.static void
set(Date self, Map<Object,Integer> updates)
Deprecated.static Calendar
toCalendar(Date self)
Deprecated.static Calendar
updated(Calendar self, Map<Object,Integer> updates)
Deprecated.static Date
updated(Date self, Map<Object,Integer> updates)
Deprecated.static void
upto(Calendar self, Calendar to, Closure closure)
Deprecated.static void
upto(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
-
Constructor Details
-
DateGroovyMethods
public DateGroovyMethods()Deprecated.
-
-
Method Details
-
getAt
Deprecated. -
toCalendar
Deprecated. -
getAt
Deprecated. -
putAt
Deprecated. -
putAt
Deprecated. -
set
Deprecated. -
updated
Deprecated. -
copyWith
Deprecated. -
set
Deprecated. -
updated
Deprecated. -
copyWith
Deprecated. -
next
Deprecated. -
next
Deprecated. -
previous
Deprecated. -
next
Deprecated. -
previous
Deprecated. -
previous
Deprecated. -
plus
Deprecated. -
plus
Deprecated. -
plus
Deprecated. -
minus
Deprecated. -
minus
Deprecated. -
minus
Deprecated. -
minus
Deprecated. -
minus
Deprecated. -
format
Deprecated. -
format
Deprecated. -
getDateString
Deprecated. -
getTimeString
Deprecated. -
getDateTimeString
Deprecated. -
clearTime
Deprecated. -
clearTime
Deprecated. -
clearTime
Deprecated. -
format
Deprecated. -
upto
Deprecated. -
upto
Deprecated. -
downto
Deprecated. -
downto
Deprecated.
-