public final class DateAdjusters extends Object
This is a static utility class. Returned objects are immutable and thread-safe.
|Modifier and Type||Method and Description|
Obtains an instance that finds the next leap day after the input date.
Obtains a date adjuster that finds the next leap day on or after the input date.
public static DateAdjuster nextLeapDay()
The adjuster returns the next occurrence of February 29 after the input date.
public static DateAdjuster nextOrSameLeapDay()
If the input date is February 29, the input date is returned unaltered. Otherwise, the adjuster returns the next occurrence of February 29 after the input date.
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.