Uses of Class
org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromParts
Packages that use DateOperators.DateFromParts
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of DateOperators.DateFromParts in org.springframework.data.mongodb.core.aggregation
Classes in org.springframework.data.mongodb.core.aggregation that implement interfaces with type arguments of type DateOperators.DateFromPartsModifier and TypeClassDescriptionstatic classMethods in org.springframework.data.mongodb.core.aggregation that return DateOperators.DateFromPartsModifier 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.Timezoneto 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.DateFromPartsSet the year to the value resolved by following the givenfield reference.default DateOperators.DateFromPartsDateOperators.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.