Module spring.data.mongodb
Interface DateOperators.IsoDateFromParts.IsoDateFromPartsWithYear
- Enclosing class:
- DateOperators.IsoDateFromParts
public static interface DateOperators.IsoDateFromParts.IsoDateFromPartsWithYear
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptionisoWeekYear(Object isoWeekYear) Set the week date year to the given value which must resolve to a weekday in range0 - 9999.default DateOperators.IsoDateFromPartsisoWeekYearOf(String fieldReference) Set the week date year to the value resolved by following the givenfield reference.default DateOperators.IsoDateFromPartsisoWeekYearOf(AggregationExpression expression) Set the week date year to the result of the givenexpression.
-
Method Details
-
isoWeekYear
Set the week date year to the given value which must resolve to a weekday in range0 - 9999. Can be a simple value,field referenceorexpression.- Parameters:
isoWeekYear- must not be null.- Returns:
- new instance.
- Throws:
IllegalArgumentException- if given isoWeekYear is null.
-
isoWeekYearOf
Set the week date year to the value resolved by following the givenfield reference.- Parameters:
fieldReference- must not be null.- Returns:
- new instance.
- Throws:
IllegalArgumentException- if given fieldReference is null.
-
isoWeekYearOf
Set the week date year to the result of the givenexpression.- Parameters:
expression- must not be null.- Returns:
- new instance.
- Throws:
IllegalArgumentException- if given expression is null.
-