A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

B

between(java.time.Period, java.time.YearMonth, java.time.YearMonth) - Method in DateTimeStaticExtensions
Obtains a Period consisting of the number of years and months between two YearMonth instances.

C

clearTime(java.time.ZonedDateTime) - Method in DateTimeExtensions
Returns an ZonedDateTime with the time portion cleared.

D

DateTimeExtensions - Class in org.apache.groovy.datetime.extensions
This class defines new Groovy methods which appear on normal JDK Date/Time API (java.time) classes inside the Groovy environment.
DateTimeStaticExtensions - Class in org.apache.groovy.datetime.extensions
This class defines new static extension methods which appear on normal JDK Date/Time API (java.time) classes inside the Groovy environment.
div(java.time.Duration, long) - Method in DateTimeExtensions
Supports the division operator; equivalent to calling the Duration.dividedBy method.
downto(java.time.temporal.Temporal, java.time.temporal.Temporal, java.time.temporal.TemporalUnit, groovy.lang.Closure) - Method in DateTimeExtensions
Iterates from this to the to Temporal, inclusive, decrementing by one unit each iteration, calling the closure once per iteration.

E

F

format(java.time.ZonedDateTime, java.time.format.FormatStyle) - Method in DateTimeExtensions
Formats this date/time in the provided, localized FormatStyle.

G

getAt(java.time.ZoneOffset, java.time.temporal.TemporalField) - Method in DateTimeExtensions
Supports the getAt operator; equivalent to calling the ZoneOffset.getLong method.
getDateString(java.time.ZonedDateTime) - Method in DateTimeExtensions
Formats this date/time with the DateTimeFormatter.ISO_LOCAL_DATE formatter and appends the zone's short name, e.g.
getDateTimeString(java.time.ZonedDateTime) - Method in DateTimeExtensions
Formats this date/time with the DateTimeFormatter.ISO_LOCAL_DATE_TIME formatter and appends the zone's short name, e.g.
getEra(java.time.Year) - Method in DateTimeExtensions
Equivalent to calling the Year.get method with a ChronoField.ERA argument.
getFullName(java.time.ZoneId, java.util.Locale) - Method in DateTimeExtensions
Returns the name of this zone formatted according to the TextStyle.FULL text style for the provided Locale.
getHours(java.time.ZoneOffset) - Method in DateTimeExtensions
Returns the hours component of this offset.
getMinutes(java.time.ZoneOffset) - Method in DateTimeExtensions
Returns the minutes component of this offset.
getOffset(java.time.ZoneId, java.time.Instant) - Method in DateTimeExtensions
Returns a ZoneOffset for this zone as of the provided Instant.
getSeconds(java.time.ZoneOffset) - Method in DateTimeExtensions
Returns the seconds component of this offset.
getShortName(java.time.ZoneId, java.util.Locale) - Method in DateTimeExtensions
Returns the name of this zone formatted according to the TextStyle.SHORT text style for the provided Locale.
getTimeString(java.time.ZonedDateTime) - Method in DateTimeExtensions
Formats this date/time with the DateTimeFormatter.ISO_LOCAL_TIME formatter and appends the zone's short name, e.g.
getYearOfEra(java.time.Year) - Method in DateTimeExtensions
Equivalent to calling the Year.get method with a ChronoField.YEAR_OF_ERA argument.
getZoneId(java.util.Date) - Method in DateTimeExtensions
Returns the Time Zone of the Date as a ZoneId.
getZoneOffset(java.util.Date) - Method in DateTimeExtensions
Returns the Time Zone offset of the Date as a ZoneOffset, which will typically be system's default offset.

H

I

isNonnegative(java.time.chrono.ChronoPeriod) - Method in DateTimeExtensions
Returns true if this period is zero or positive.
isNonpositive(java.time.chrono.ChronoPeriod) - Method in DateTimeExtensions
Returns true if this period is zero or negative.
isPositive(java.time.chrono.ChronoPeriod) - Method in DateTimeExtensions
Returns true if this period is positive, excluding zero.
isWeekday(java.time.DayOfWeek) - Method in DateTimeExtensions
Returns true if the DayOfWeek is a weekday.
isWeekend(java.time.DayOfWeek) - Method in DateTimeExtensions
Returns true if this day of the week is a weekend day (Saturday or Sunday).

J

K

L

leftShift(java.time.Month, java.time.Year) - Method in DateTimeExtensions
Creates a YearMonth at the provided Year.

M

minus(java.time.Month, int) - Method in DateTimeExtensions
Returns the Month that is months months before this month.
multiply(java.time.Period, int) - Method in DateTimeExtensions
Supports the multiply operator; equivalent to calling the Period.multipliedBy method.

N

negative(java.time.Period) - Method in DateTimeExtensions
Supports the unary minus operator; equivalent to calling the Period.negated method.
next(java.time.ZonedDateTime) - Method in DateTimeExtensions
Returns a ZonedDateTime that is one second after this date/time.

O

P

parse(java.time.ZonedDateTime, java.lang.CharSequence, java.lang.String) - Method in DateTimeStaticExtensions
Parse text into a ZonedDateTime using the provided pattern.
plus(java.time.Month, int) - Method in DateTimeExtensions
Returns the Month that is months months after this month.
positive(java.time.Period) - Method in DateTimeExtensions
Supports the unary plus operator; returns a Period with all unit values positive.
previous(java.time.ZonedDateTime) - Method in DateTimeExtensions
Returns a ZonedDateTime that is one second before this date/time.

Q

R

rightShift(java.time.YearMonth, java.time.YearMonth) - Method in DateTimeExtensions
Returns a Period of time between the first day of this year/month (inclusive) and the given YearMonth (exclusive).

S

systemDefault(java.time.ZoneOffset) - Method in DateTimeStaticExtensions
Returns the ZoneOffset currently associated with the system default ZoneId.

T

toCalendar(java.time.ZonedDateTime) - Method in DateTimeExtensions
Returns a generally equivalent instance of Calendar.
toDate(java.time.ZonedDateTime) - Method in DateTimeExtensions
Returns a generally equivalent instance of Date.
toDayOfWeek(java.util.Date) - Method in DateTimeExtensions
Converts the Date to a corresponding DayOfWeek.
toInstant(java.util.Calendar) - Method in DateTimeExtensions
Convenience method for converting a Calendar to a corresponding Instant.
toLocalDate(java.util.Date) - Method in DateTimeExtensions
Converts the Date to a corresponding LocalDate.
toLocalDateTime(java.util.Date) - Method in DateTimeExtensions
Converts the Date to a corresponding LocalDateTime.
toLocalTime(java.util.Date) - Method in DateTimeExtensions
Converts the Date to a corresponding LocalTime.
toMonth(java.util.Date) - Method in DateTimeExtensions
Converts the Date to a corresponding Month.
toMonthDay(java.util.Date) - Method in DateTimeExtensions
Converts the Date to a corresponding MonthDay.
toOffsetDateTime(java.util.Date) - Method in DateTimeExtensions
Converts the Date to a corresponding OffsetDateTime.
toOffsetTime(java.util.Date) - Method in DateTimeExtensions
Converts the Date to a corresponding OffsetTime.
toTimeZone(java.time.ZoneOffset) - Method in DateTimeExtensions
Returns a generally equivalent TimeZone.
toYear(java.util.Date) - Method in DateTimeExtensions
Converts the Date to a corresponding Year.
toYearMonth(java.util.Date) - Method in DateTimeExtensions
Converts the Date to a corresponding YearMonth.
toZonedDateTime(java.util.Date) - Method in DateTimeExtensions
Converts the Date to a corresponding ZonedDateTime.
toZoneOffset(java.util.TimeZone, java.time.Instant) - Method in DateTimeExtensions
Converts this TimeZone to a corresponding ZoneOffset.

U

upto(java.time.temporal.Temporal, java.time.temporal.Temporal, java.time.temporal.TemporalUnit, groovy.lang.Closure) - Method in DateTimeExtensions
Iterates from this to the to Temporal, inclusive, incrementing by one unit each iteration, calling the closure once per iteration.

V

W

X

Y

Z

_

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _