public abstract static class DateOperators.DateFromParts.DateFromPartsWithYear extends Object
Constructor and Description |
---|
DateFromPartsWithYear() |
Modifier and Type | Method and Description |
---|---|
abstract DateOperators.DateFromParts |
year(Object year)
Set the year to the given value which must resolve to a calendar year.
|
DateOperators.DateFromParts |
yearOf(AggregationExpression expression)
Set the year to the result of the given
expression . |
DateOperators.DateFromParts |
yearOf(String fieldReference)
Set the year to the value resolved by following the given
field reference . |
public abstract DateOperators.DateFromParts year(Object year)
field reference
or expression
.year
- must not be null.DateOperators.DateFromParts
.IllegalArgumentException
- if given year is nullpublic DateOperators.DateFromParts yearOf(String fieldReference)
field reference
.fieldReference
- must not be null.DateOperators.DateFromParts
.IllegalArgumentException
- if given fieldReference is null.public 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.