C D F G M N O P S T U
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- clearTime(Date) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Clears the time portion of this java.sql.Date instance; useful utility where it makes sense to compare month/day/year only portions of a Date.
- clearTime(Calendar) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Clears the time portion of this Calendar instance; useful utility where it makes sense to compare month/day/year only portions of a Calendar.
- clearTime(Date) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Clears the time portion of this Date instance; useful utility where it makes sense to compare month/day/year only portions of a Date.
- copyWith(Calendar, Map<Object, Integer>) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Support creating a new Date having similar properties to an existing Date (which remains unaltered) but with some fields updated according to a Map of changes.
- copyWith(Date, Map<Object, Integer>) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Support creating a new Date having similar properties to an existing Date (which remains unaltered) but with some fields updated according to a Map of changes.
D
- DateUtilExtensions - Class in org.apache.groovy.dateutil.extensions
-
This class defines new groovy methods which appear on normal JDK Date and Calendar classes inside the Groovy environment.
- DateUtilExtensions() - Constructor for class org.apache.groovy.dateutil.extensions.DateUtilExtensions
- DateUtilStaticExtensions - Class in org.apache.groovy.dateutil.extensions
-
This class defines new groovy static methods which appear on normal JDK Date and Calendar classes inside the Groovy environment.
- DateUtilStaticExtensions() - Constructor for class org.apache.groovy.dateutil.extensions.DateUtilStaticExtensions
- downto(Calendar, Calendar, Closure) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Iterates from the date represented by this calendar up to the date represented by the given calendar, inclusive, incrementing by one day each time.
- downto(Date, Date, Closure) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Iterates from this date down to the given date, inclusive, decrementing by one day each time.
F
- format(Calendar, String) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Shortcut for
SimpleDateFormat
to output a String representation of this calendar instance. - format(Date, String) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Create a String representation of this date according to the given format pattern.
- format(Date, String, TimeZone) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Create a String representation of this date according to the given format pattern and timezone.
G
- getAt(Calendar, int) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Support the subscript operator for a Calendar.
- getAt(Date, int) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Support the subscript operator for a Date.
- getDateString(Date) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Return a string representation of the 'day' portion of this date according to the locale-specific
DateFormat.SHORT
default format. - getDateTimeString(Date) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Return a string representation of the date and time time portion of this Date instance, according to the locale-specific format used by
DateFormat
. - getTimeString(Date) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Return a string representation of the time portion of this date according to the locale-specific
DateFormat.MEDIUM
default format.
M
- minus(Date, int) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Subtract a number of days from this date and returns the new date.
- minus(Timestamp, int) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Subtract a number of days from this Timestamp and returns the new Timestamp object.
- minus(Calendar, Calendar) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Subtract another date from this one and return the number of days of the difference.
- minus(Date, int) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Subtract a number of days from this date and returns the new date.
- minus(Date, Date) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Subtract another Date from this one and return the number of days of the difference.
N
- next(Date) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Increment a java.sql.Date by one day.
- next(Calendar) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Increment a Calendar by one day.
- next(Date) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Increment a Date by one day.
O
- org.apache.groovy.dateutil.extensions - package org.apache.groovy.dateutil.extensions
P
- parse(Date, String, String) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilStaticExtensions
-
Parse a String into a Date instance using the given pattern.
- parse(Date, String, String, TimeZone) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilStaticExtensions
-
Parse a String into a Date instance using the given pattern and TimeZone.
- parseToStringDate(Date, String) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilStaticExtensions
-
Parse a String matching the pattern EEE MMM dd HH:mm:ss zzz yyyy containing US-locale-constants only (e.g.
- plus(Date, int) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Add a number of days to this date and returns the new date.
- plus(Timestamp, int) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Add number of days to this Timestamp and returns the new Timestamp object.
- plus(Date, int) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Add a number of days to this date and returns the new date.
- previous(Date) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Decrement a java.sql.Date by one day.
- previous(Calendar) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Decrement a Calendar by one day.
- previous(Date) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Decrement a Date by one day.
- putAt(Calendar, int, int) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Support the subscript operator for mutating a Calendar.
- putAt(Date, int, int) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Support the subscript operator for mutating a Date.
S
- set(Calendar, Map<Object, Integer>) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Support mutating a Calendar with a Map.
- set(Date, Map<Object, Integer>) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Support mutating a Date with a Map.
T
- toCalendar(Date) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Convert a Date to a Calendar.
U
- updated(Calendar, Map<Object, Integer>) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Legacy alias for copyWith.
- updated(Date, Map<Object, Integer>) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Legacy alias for copyWith.
- upto(Calendar, Calendar, Closure) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Iterates from the date represented by this calendar up to the date represented by the given calendar, inclusive, incrementing by one day each time.
- upto(Date, Date, Closure) - Static method in class org.apache.groovy.dateutil.extensions.DateUtilExtensions
-
Iterates from this date up to the given date, inclusive, incrementing by one day each time.
All Classes All Packages