public class Jdk8WorkingWeek extends WorkingWeek
Modifier and Type | Field and Description |
---|---|
static Jdk8WorkingWeek |
DEFAULT |
ARABIC_WEEK
Modifier | Constructor and Description |
---|---|
|
Jdk8WorkingWeek() |
protected |
Jdk8WorkingWeek(byte workingDays) |
|
Jdk8WorkingWeek(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.
|
adjustDay, getWorkingDays, intersection, isWorkingDay, isWorkingDay, isWorkingDayFromCalendar, withWorkingDayFromCalendar
public static final Jdk8WorkingWeek DEFAULT
public Jdk8WorkingWeek()
protected Jdk8WorkingWeek(byte workingDays)
public Jdk8WorkingWeek(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.