Uses of Class
org.springframework.data.mongodb.core.aggregation.DateOperators.DateAdd
Packages that use DateOperators.DateAdd
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of DateOperators.DateAdd in org.springframework.data.mongodb.core.aggregation
Methods in org.springframework.data.mongodb.core.aggregation that return DateOperators.DateAddModifier and TypeMethodDescriptionCreates newAggregationExpressionthat adds the given value (in units).DateOperators.DateOperatorFactory.add(Object value, DateOperators.TemporalUnit unit) Creates newAggregationExpressionthat adds the given value (in units).static DateOperators.DateAddAdd the number of units to astart date.static DateOperators.DateAddDateOperators.DateAdd.addValueOf(String fieldReference, String unit) Add the number of units from a field to astart date.static DateOperators.DateAddDateOperators.DateAdd.addValueOf(AggregationExpression expression, String unit) Add the number of units of the result of the givenexpressionto astart date.DateOperators.DateOperatorFactory.addValueOf(String fieldReference, String unit) Creates newAggregationExpressionthat adds the value stored at the given field (in units).DateOperators.DateOperatorFactory.addValueOf(String fieldReference, DateOperators.TemporalUnit unit) Creates newAggregationExpressionthat adds the value stored at the given field (in units).DateOperators.DateOperatorFactory.addValueOf(AggregationExpression expression, String unit) Creates newAggregationExpressionthat adds the value of the givenexpression(in units).DateOperators.DateOperatorFactory.addValueOf(AggregationExpression expression, DateOperators.TemporalUnit unit) Creates newAggregationExpressionthat adds the value of the givenexpression(in units).Define the start date, in UTC, for the addition operation.Define the start date, in UTC, for the addition operation.DateOperators.DateAdd.toDateOf(AggregationExpression expression) Define the start date, in UTC, for the addition operation.DateOperators.DateAdd.withTimezone(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezoneto use.