public final class Temporals extends Object
This currently contains adjusters that ignore Saturday/Sunday weekends.
| Modifier and Type | Method and Description |
|---|---|
static java.time.temporal.TemporalAdjuster |
nextWorkingDay()
Returns an adjuster that returns the next working day, ignoring Saturday and Sunday.
|
static java.time.temporal.TemporalAdjuster |
previousWorkingDay()
Returns an adjuster that returns the previous working day, ignoring Saturday and Sunday.
|
public static java.time.temporal.TemporalAdjuster nextWorkingDay()
Some territories have weekends that do not consist of Saturday and Sunday. No implementation is supplied to support this, however an adjuster can be easily written to do so.
public static java.time.temporal.TemporalAdjuster previousWorkingDay()
Some territories have weekends that do not consist of Saturday and Sunday. No implementation is supplied to support this, however an adjuster can be easily written to do so.
Copyright © 2010–2014 ThreeTen.org. All rights reserved.