Uses of Class
org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
Packages that use DateOperators.DateOperatorFactory
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of DateOperators.DateOperatorFactory in org.springframework.data.mongodb.core.aggregation
Methods in org.springframework.data.mongodb.core.aggregation that return DateOperators.DateOperatorFactoryModifier and TypeMethodDescriptionTake the date referenced by given fieldReference.DateOperators.dateOf
(AggregationExpression expression) Take the date resulting from the givenAggregationExpression
.Take the given value as date.DateOperators.DateOperatorFactory.withTimezone
(DateOperators.Timezone timezone) Create a newDateOperators.DateOperatorFactory
bound to a givenDateOperators.Timezone
.
NOTE: Requires Mongo 3.6 or later.DateOperators.zonedDateOf
(String fieldReference, DateOperators.Timezone timezone) Take the date referenced by given fieldReference.DateOperators.zonedDateOf
(AggregationExpression expression, DateOperators.Timezone timezone) Take the date resulting from the givenAggregationExpression
.