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 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
-
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.
-