Uses of Class
org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromParts
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of DateOperators.DateFromParts in org.springframework.data.mongodb.core.aggregation
Modifier and TypeMethodDescriptionSet the day to the given value which must resolve to a calendar day in range1 - 31
.Set the day to the value resolved by following the givenfield reference
.DateOperators.DateFromParts.dayOf
(AggregationExpression expression) Set the day to the result of the givenexpression
.DateOperators.DateFromParts.millisecond
(Object millisecond) Set the month to the given value which must resolve to a calendar month in range1 - 12
.Set the month to the value resolved by following the givenfield reference
.DateOperators.DateFromParts.monthOf
(AggregationExpression expression) Set the month to the result of the givenexpression
.DateOperators.DateFromParts.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.Set the year to the given value which must resolve to a calendar year.Set the year to the given value which must resolve to a calendar year.default DateOperators.DateFromParts
Set the year to the value resolved by following the givenfield reference
.default DateOperators.DateFromParts
DateOperators.DateFromParts.DateFromPartsWithYear.yearOf
(AggregationExpression expression) Set the year to the result of the givenexpression
.Set the year to the value resolved by following the givenfield reference
.DateOperators.DateFromPartsOperatorFactory.yearOf
(AggregationExpression expression) Set the year to the result of the givenexpression
.