Package: org.codehaus.groovy.runtime

## [Java] Class DateGroovyMethods

- org.codehaus.groovy.runtime.DateGroovyMethods

- deprecated:
    use DateUtilExtensions instead

- - ### Methods Summary

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

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class DefaultGroovyMethodsSupport` | `cloneSimilarCollection, cloneSimilarMap, closeQuietly, closeWithWarning, createSimilarArray, createSimilarCollection, createSimilarCollection, createSimilarCollection, createSimilarList, createSimilarMap, createSimilarOrDefaultCollection, createSimilarQueue, createSimilarSet, normaliseIndex, sameType, subListBorders, subListBorders, writeUTF16BomIfRequired, writeUTF16BomIfRequired, writeUTF16BomIfRequired, writeUTF16BomIfRequired`

- - ### Method Detail

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static Date clearTime(Date self)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static Calendar clearTime(Calendar self)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static Calendar copyWith(Calendar self, Map<Object, Integer> updates)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static Date copyWith(Date self, Map<Object, Integer> updates)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static void downto(Date self, Date to, Closure closure)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static void downto(Calendar self, Calendar to, Closure closure)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static String format(Date self, String format)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static String format(Date self, String format, TimeZone tz)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static String format(Calendar self, String pattern)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static int getAt(Date self, int field)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static int getAt(Calendar self, int field)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static String getDateString(Date self)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static String getDateTimeString(Date self)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static String getTimeString(Date self)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static Date minus(Date self, int days)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static Timestamp minus(Timestamp self, int days)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static int minus(Calendar self, Calendar then)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static int minus(Date self, Date then)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static Date next(Date self)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static Calendar next(Calendar self)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static Date next(Date self)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static Date plus(Date self, int days)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static Timestamp plus(Timestamp self, int days)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static Calendar previous(Calendar self)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static Date previous(Date self)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static void putAt(Calendar self, int field, int value)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static void putAt(Date self, int field, int value)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static void set(Calendar self, Map<Object, Integer> updates)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static void set(Date self, Map<Object, Integer> updates)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static Calendar toCalendar(Date self)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static Calendar updated(Calendar self, Map<Object, Integer> updates)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static Date updated(Date self, Map<Object, Integer> updates)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static void upto(Date self, Date to, Closure closure)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated public static void upto(Calendar self, Calendar to, Closure closure)