Return type | Name and parameters |
---|---|
boolean
|
isWeekday()
Returns true if the DayOfWeek is a weekday.
|
boolean
|
isWeekend()
Returns true if this day of the week is a weekend day (Saturday or Sunday).
|
DayOfWeek
|
minus(int days)
Returns the DayOfWeek that is days many days before this day of the week.
|
DayOfWeek
|
plus(int days)
Returns the DayOfWeek that is days many days after this day of the week.
|
addShutdownHook
, any
, any
, asBoolean
, asType
, collect
, collect
, collect
, contains
, count
, dump
, each
, eachWithIndex
, equals
, every
, every
, find
, find
, findAll
, findAll
, findIndexOf
, findIndexOf
, findIndexValues
, findIndexValues
, findLastIndexOf
, findLastIndexOf
, findResult
, findResult
, flatten
, getAt
, getMetaClass
, getMetaPropertyValues
, getProperties
, grep
, grep
, groupBy
, groupBy
, hasProperty
, identity
, inject
, inject
, inspect
, invokeMethod
, is
, isCase
, iterator
, join
, metaClass
, print
, print
, printf
, printf
, println
, println
, println
, putAt
, respondsTo
, respondsTo
, setMetaClass
, size
, split
, sprintf
, sprintf
, sum
, sum
, tap
, toArrayString
, toSpreadMap
, toString
, use
, use
, use
, with
, with
, withTraits
Returns true
if the DayOfWeek is a weekday.
Returns true
if this day of the week is a weekend day (Saturday or Sunday).
Returns the DayOfWeek that is days
many days before this day of the week.
days
- the number of days to move back