public class JodaWorkingWeek extends WorkingWeek
Modifier and Type | Field and Description |
---|---|
static JodaWorkingWeek |
ARAB_DEFAULT |
static JodaWorkingWeek |
DEFAULT |
ARABIC_WEEK
Modifier | Constructor and Description |
---|---|
|
JodaWorkingWeek() |
protected |
JodaWorkingWeek(byte workingDays) |
|
JodaWorkingWeek(WorkingWeek ww) |
Modifier and Type | Method and Description |
---|---|
boolean |
isWorkingDay(org.joda.time.LocalDate date) |
boolean |
isWorkingDayFromDateTimeConstant(int dayOfWeek) |
static int |
jodaToCalendarDayConstant(int givenDayOfWeek) |
static int |
jodaToCalendarDayConstant(org.joda.time.LocalDate date) |
JodaWorkingWeek |
withWorkingDayFromDateTimeConstant(boolean working,
int givenDayOfWeek)
Return a new JodaWorkingWeek if the status for the given day has changed.
|
adjustDay, getWorkingDays, intersection, isWorkingDay, isWorkingDay, isWorkingDayFromCalendar, withWorkingDayFromCalendar
public static final JodaWorkingWeek DEFAULT
public static final JodaWorkingWeek ARAB_DEFAULT
public JodaWorkingWeek()
protected JodaWorkingWeek(byte workingDays)
public JodaWorkingWeek(WorkingWeek ww)
public boolean isWorkingDay(org.joda.time.LocalDate date)
public JodaWorkingWeek withWorkingDayFromDateTimeConstant(boolean working, int givenDayOfWeek)
working
- true if working daygivenDayOfWeek
- e.g. DateTimeConstants.MONDAY, DateTimeConstants.TUESDAY, etcpublic boolean isWorkingDayFromDateTimeConstant(int dayOfWeek)
public static int jodaToCalendarDayConstant(org.joda.time.LocalDate date)
public static int jodaToCalendarDayConstant(int givenDayOfWeek)
Copyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.