Uses of Class
org.springframework.data.mongodb.core.aggregation.DateOperators.Timezone
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of DateOperators.Timezone in org.springframework.data.mongodb.core.aggregation
Modifier and TypeMethodDescriptionstatic DateOperators.Timezone
DateOperators.Timezone.fromOffset
(ZoneOffset offset) Create aDateOperators.Timezone
for the givenZoneOffset
rendering the offset as UTC offset.static DateOperators.Timezone
DateOperators.Timezone.fromOffset
(TimeZone timeZone) Create aDateOperators.Timezone
for the givenTimeZone
rendering the offset as UTC offset.static DateOperators.Timezone
Create aDateOperators.Timezone
for the givenZoneId
rendering the offset as UTC offset.static DateOperators.Timezone
Create aDateOperators.Timezone
for the givenTimeZone
rendering the offset as UTC offset.static DateOperators.Timezone
DateOperators.Timezone.none()
Return an emptyDateOperators.Timezone
.static DateOperators.Timezone
DateOperators.Timezone.ofExpression
(AggregationExpression expression) Create aDateOperators.Timezone
for theAggregationExpression
resulting in the Olson Timezone Identifier or UTC Offset.static DateOperators.Timezone
Create aDateOperators.Timezone
for theField
reference holding the Olson Timezone Identifier or UTC Offset.static DateOperators.Timezone
Create aDateOperators.Timezone
for the given value which must be a valid expression that resolves to aString
representing an Olson Timezone Identifier or UTC Offset.Modifier and TypeMethodDescriptionDateOperators.TimezonedDateAggregationExpression.appendTimezone
(Object source, DateOperators.Timezone timezone) Append thetimezone
to a given source.DateOperators.DateAdd.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.DateOperators.DateDiff.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.DateOperators.DateFromParts.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.DateOperators.DateFromPartsOperatorFactory.withTimezone
(DateOperators.Timezone timezone) DateOperators.DateFromString.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.DateOperators.DateOperatorFactory.withTimezone
(DateOperators.Timezone timezone) Create a newDateOperators.DateOperatorFactory
bound to a givenDateOperators.Timezone
.
NOTE: Requires Mongo 3.6 or later.DateOperators.DateSubtract.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.DateOperators.DateToParts.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.DateOperators.DateToString.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.DateOperators.DateTrunc.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.DateOperators.DayOfMonth.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.DateOperators.DayOfWeek.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.DateOperators.DayOfYear.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.DateOperators.Hour.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.DateOperators.IsoDateFromParts.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.DateOperators.IsoDayOfWeek.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.DateOperators.IsoWeek.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.DateOperators.IsoWeekYear.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.DateOperators.Millisecond.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.DateOperators.Minute.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.DateOperators.Month.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.DateOperators.Second.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.protected abstract DateOperators.TimezonedDateAggregationExpression
DateOperators.TimezonedDateAggregationExpression.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.DateOperators.Week.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.DateOperators.Year.withTimezone
(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezone
to use.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
.