Package: org.codehaus.groovy.runtime

## [Java] Class DateGroovyMethods

- org.codehaus.groovy.runtime.DateGroovyMethods

-     @Deprecated
      public class DateGroovyMethods
      extends DefaultGroovyMethodsSupport

  deprecated:
    use DateUtilExtensions instead

- - ### Methods Summary

    Methods
    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)`

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

    - #### @Deprecated public static Date clearTime(Date self)

    - #### @Deprecated public static Calendar clearTime(Calendar self)

    - #### @Deprecated public static Calendar copyWith(Calendar self, Map<Object, Integer> updates)

    - #### @Deprecated public static Date copyWith(Date self, Map<Object, Integer> updates)

    - #### @Deprecated public static void downto(Date self, Date to, Closure closure)

    - #### @Deprecated public static void downto(Calendar self, Calendar to, Closure closure)

    - #### @Deprecated public static String format(Date self, String format)

    - #### @Deprecated public static String format(Date self, String format, TimeZone tz)

    - #### @Deprecated public static String format(Calendar self, String pattern)

    - #### @Deprecated public static int getAt(Date self, int field)

    - #### @Deprecated public static int getAt(Calendar self, int field)

    - #### @Deprecated public static String getDateString(Date self)

    - #### @Deprecated public static String getDateTimeString(Date self)

    - #### @Deprecated public static String getTimeString(Date self)

    - #### @Deprecated public static Date minus(Date self, int days)

    - #### @Deprecated public static Timestamp minus(Timestamp self, int days)

    - #### @Deprecated public static int minus(Calendar self, Calendar then)

    - #### @Deprecated public static int minus(Date self, Date then)

    - #### @Deprecated public static Date next(Date self)

    - #### @Deprecated public static Calendar next(Calendar self)

    - #### @Deprecated public static Date next(Date self)

    - #### @Deprecated public static Date plus(Date self, int days)

    - #### @Deprecated public static Timestamp plus(Timestamp self, int days)

    - #### @Deprecated public static Calendar previous(Calendar self)

    - #### @Deprecated public static Date previous(Date self)

    - #### @Deprecated public static void putAt(Calendar self, int field, int value)

    - #### @Deprecated public static void putAt(Date self, int field, int value)

    - #### @Deprecated public static void set(Calendar self, Map<Object, Integer> updates)

    - #### @Deprecated public static void set(Date self, Map<Object, Integer> updates)

    - #### @Deprecated public static Calendar toCalendar(Date self)

    - #### @Deprecated public static Calendar updated(Calendar self, Map<Object, Integer> updates)

    - #### @Deprecated public static Date updated(Date self, Map<Object, Integer> updates)

    - #### @Deprecated public static void upto(Date self, Date to, Closure closure)

    - #### @Deprecated public static void upto(Calendar self, Calendar to, Closure closure)