public static class DateOperators.DateFromPartsOperatorFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
DateOperators.IsoDateFromParts |
isoWeekYear(Object isoWeekYear)
Set the week date year to the given value which must resolve to a weekday in range
0 - 9999. |
DateOperators.IsoDateFromParts |
isoWeekYearOf(AggregationExpression expression)
Set the week date year to the result of the given
expression. |
DateOperators.IsoDateFromParts |
isoWeekYearOf(String fieldReference)
Set the week date year to the value resolved by following the given
field reference. |
DateOperators.DateFromPartsOperatorFactory |
withTimezone(DateOperators.Timezone timezone)
Create a new
DateOperators.DateFromPartsOperatorFactory bound to a given DateOperators.Timezone. |
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 DateOperators.IsoDateFromParts isoWeekYear(Object isoWeekYear)
0 - 9999.
Can be a simple value, field reference or expression.isoWeekYear - must not be null.DateOperators.IsoDateFromParts with DateOperators.Timezone if set.IllegalArgumentException - if given isoWeekYear is null.public DateOperators.IsoDateFromParts isoWeekYearOf(String fieldReference)
field reference.fieldReference - must not be null.DateOperators.IsoDateFromParts with DateOperators.Timezone if set.IllegalArgumentException - if given fieldReference is null.public DateOperators.IsoDateFromParts isoWeekYearOf(AggregationExpression expression)
expression.expression - must not be null.DateOperators.IsoDateFromParts with DateOperators.Timezone if set.IllegalArgumentException - if given expression is null.public DateOperators.DateFromParts year(Object year)
field reference or expression.year - must not be null.DateOperators.DateFromParts with DateOperators.Timezone if set.IllegalArgumentException - if given year is nullpublic DateOperators.DateFromParts yearOf(String fieldReference)
field reference.fieldReference - must not be null.DateOperators.DateFromParts with DateOperators.Timezone if set.IllegalArgumentException - if given fieldReference is null.public DateOperators.DateFromParts yearOf(AggregationExpression expression)
expression.expression - must not be null.DateOperators.DateFromParts with DateOperators.Timezone if set.IllegalArgumentException - if given expression is null.public DateOperators.DateFromPartsOperatorFactory withTimezone(DateOperators.Timezone timezone)
timezone - must not be null. Use DateOperators.Timezone.none() instead.DateOperators.DateFromPartsOperatorFactory.IllegalArgumentException - if given timezone is null.Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.