Uses of Class
org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromString
Packages that use DateOperators.DateFromString
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of DateOperators.DateFromString in org.springframework.data.mongodb.core.aggregation
Methods in org.springframework.data.mongodb.core.aggregation that return DateOperators.DateFromStringModifier and TypeMethodDescriptionstatic DateOperators.DateFromStringDateOperators.dateFromString(String value) Construct a Date object from the given dateString.
To use afield referenceorAggregationExpressionas source of the date string considerDateOperators.DateOperatorFactory.fromString()orfromStringOf(AggregationExpression).
NOTE: Requires MongoDB 3.6 or later.static DateOperators.DateFromStringDateOperators.DateFromString.fromString(Object value) Creates newDateOperators.DateFromString.DateOperators.DateOperatorFactory.fromString()Creates newAggregationExpressionthat converts a date/time string to a date object.
NOTE: Requires MongoDB 3.6 or later.static DateOperators.DateFromStringDateOperators.DateFromString.fromStringOf(String fieldReference) Creates newDateOperators.DateFromString.static DateOperators.DateFromStringDateOperators.DateFromString.fromStringOf(AggregationExpression expression) Creates newDateOperators.DateFromString.DateOperators.DateFromString.withFormat(String format) Optionally set the date format to use.DateOperators.DateFromString.withTimezone(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezoneto use.