Uses of Class
org.springframework.data.mongodb.core.aggregation.DateOperators.DateToParts
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of DateOperators.DateToParts in org.springframework.data.mongodb.core.aggregation
Modifier and TypeMethodDescriptionstatic DateOperators.DateToParts
DateOperators.DateToParts.datePartsOf
(String fieldReference) Creates newDateOperators.DateToParts
.static DateOperators.DateToParts
DateOperators.DateToParts.datePartsOf
(AggregationExpression expression) Creates newDateOperators.DateToParts
.static DateOperators.DateToParts
DateOperators.DateToParts.dateToParts
(Object value) Creates newDateOperators.DateToParts
.DateOperators.DateToParts.iso8601()
Use ISO week date fields in the resulting document.DateOperators.DateOperatorFactory.toParts()
Creates newAggregationExpression
that returns a document containing the constituent parts of the date as individual properties.
NOTE: Requires MongoDB 3.6 or later.DateOperators.DateToParts.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.