- Direct Known Subclasses:
public class WorkingWeek
- extends Object
Immutable Working Week, default is Mon->Friday.
- $Revision: 200 $ $Date: 2006-10-10 16:15:58 -0400 (Tue, 10 Oct 2006) $
- Benoit Xhenseval, $LastChangedBy: benoitx $
Default Working Week Monday -> Friday.
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final WorkingWeek DEFAULT
- Default Working Week Monday -> Friday.
protected WorkingWeek(byte workingDays)
public boolean isWorkingDayFromCalendar(int dayOfWeek)
public boolean isWorkingDay(Date date)
public boolean isWorkingDay(Calendar cal)
protected int adjustDay(int dayOfWeek)
public WorkingWeek withWorkingDayFromCalendar(boolean working,
- If the value for the given day has changed, return a NEW WorkingWeek.
working - true if working day
dayOfWeek - e.g. Calendar.MONDAY, Calendar.TUESDAY, etc
- a new instance of a
WorkingWeek with the working
public byte getWorkingDays()
Copyright © 2006-2010 Appendium - Portfolio Financing Platform. All Rights Reserved.