public static interface DateOperators.DateFromParts.DateFromPartsWithYear
| Modifier and Type | Method and Description |
|---|---|
DateOperators.DateFromParts |
year(Object year)
Set the year to the given value which must resolve to a calendar year.
|
default DateOperators.DateFromParts |
yearOf(AggregationExpression expression)
Set the year to the result of the given
expression. |
default DateOperators.DateFromParts |
yearOf(String fieldReference)
Set the year to the value resolved by following the given
field reference. |
DateOperators.DateFromParts year(Object year)
field reference or expression.year - must not be null.DateOperators.DateFromParts.IllegalArgumentException - if given year is nulldefault DateOperators.DateFromParts yearOf(String fieldReference)
field reference.fieldReference - must not be null.DateOperators.DateFromParts.IllegalArgumentException - if given fieldReference is null.default DateOperators.DateFromParts yearOf(AggregationExpression expression)
expression.expression - must not be null.DateOperators.DateFromParts.IllegalArgumentException - if given expression is null.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.