public class Jdk8WorkingWeek
extends net.objectlab.kit.datecalc.common.WorkingWeek
| Modifier and Type | Field and Description | 
|---|---|
| static Jdk8WorkingWeek | DEFAULT | 
| Modifier | Constructor and Description | 
|---|---|
|   | Jdk8WorkingWeek() | 
| protected  | Jdk8WorkingWeek(byte workingDays) | 
|   | Jdk8WorkingWeek(net.objectlab.kit.datecalc.common.WorkingWeek ww) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | isWorkingDay(LocalDate date) | 
| boolean | isWorkingDayFromDateTimeConstant(DayOfWeek dayOfWeek) | 
| static int | jdk8ToCalendarDayConstant(DayOfWeek givenDayOfWeek) | 
| Jdk8WorkingWeek | withWorkingDayFromDateTimeConstant(boolean working,
                                  DayOfWeek givenDayOfWeek)Return a new JodaWorkingWeek if the status for the given day has changed. | 
public static final Jdk8WorkingWeek DEFAULT
public Jdk8WorkingWeek()
protected Jdk8WorkingWeek(byte workingDays)
public Jdk8WorkingWeek(net.objectlab.kit.datecalc.common.WorkingWeek ww)
public boolean isWorkingDay(LocalDate date)
public Jdk8WorkingWeek withWorkingDayFromDateTimeConstant(boolean working, DayOfWeek givenDayOfWeek)
working - true if working daygivenDayOfWeek - e.g. DateTimeConstants.MONDAY, DateTimeConstants.TUESDAY, etcpublic boolean isWorkingDayFromDateTimeConstant(DayOfWeek dayOfWeek)
public static int jdk8ToCalendarDayConstant(DayOfWeek givenDayOfWeek)
Copyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.