|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.hr.time.util.TkTimeBlockAggregate
public class TkTimeBlockAggregate
Constructor Summary | |
---|---|
TkTimeBlockAggregate(List<TimeBlock> timeBlocks,
CalendarEntries payCalendarEntry)
Defaults to using SYSTEM time zone. |
|
TkTimeBlockAggregate(List<TimeBlock> timeBlocks,
CalendarEntries payCalendarEntry,
Calendar payCalendar)
Defaults to using SYSTEM time zone. |
|
TkTimeBlockAggregate(List<TimeBlock> timeBlocks,
CalendarEntries payCalendarEntry,
Calendar payCalendar,
boolean useUserTimeZone)
Provides the option to refer to the time zone adjusted time for the current user. |
|
TkTimeBlockAggregate(List<TimeBlock> timeBlocks,
CalendarEntries payCalendarEntry,
Calendar payCalendar,
boolean useUserTimeZone,
List<org.joda.time.Interval> dayIntervals)
|
|
TkTimeBlockAggregate(List<TimeBlock> timeBlocks,
List<LeaveBlock> leaveBlocks,
CalendarEntries payCalendarEntry)
Defaults to using SYSTEM time zone. |
|
TkTimeBlockAggregate(List<TimeBlock> timeBlocks,
List<LeaveBlock> leaveBlocks,
CalendarEntries payCalendarEntry,
Calendar payCalendar)
Defaults to using SYSTEM time zone. |
|
TkTimeBlockAggregate(List<TimeBlock> timeBlocks,
List<LeaveBlock> leaveBlocks,
CalendarEntries payCalendarEntry,
Calendar payCalendar,
boolean useUserTimeZone)
Provides the option to refer to the time zone adjusted time for the current user. |
|
TkTimeBlockAggregate(List<TimeBlock> timeBlocks,
List<LeaveBlock> leaveBlocks,
CalendarEntries payCalendarEntry,
Calendar payCalendar,
boolean useUserTimeZone,
List<org.joda.time.Interval> dayIntervals)
|
Method Summary | |
---|---|
static TkTimeBlockAggregate |
combineTimeAndLeaveAggregates(TkTimeBlockAggregate tbAggregate,
LeaveBlockAggregate lbAggregate)
|
List<List<LeaveBlock>> |
getDayLeaveBlockList()
|
List<List<TimeBlock>> |
getDayTimeBlockList()
|
List<LeaveBlock> |
getFlattenedLeaveBlockList()
|
List<TimeBlock> |
getFlattenedTimeBlockList()
|
List<FlsaWeek> |
getFlsaWeeks(org.joda.time.DateTimeZone zone)
When consuming these weeks, you must be aware that you could be on a virtual day, ie noon to noon schedule and have your FLSA time start before the virtual day start, but still have a full 7 days for your week. |
List<List<FlsaWeek>> |
getFlsaWeeks(org.joda.time.DateTimeZone zone,
String principalId)
|
Calendar |
getPayCalendar()
|
CalendarEntries |
getPayCalendarEntry()
|
List<List<LeaveBlock>> |
getWeekLeaveBlocks(int week)
Provides a way to access all of the leave blocks for a given week. |
List<List<TimeBlock>> |
getWeekTimeBlocks(int week)
Provides a way to access all of the time blocks for a given week. |
int |
numberOfAggregatedWeeks()
|
void |
setPayCalendar(Calendar payCalendar)
|
void |
setPayCalendarEntry(CalendarEntries payCalendarEntry)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TkTimeBlockAggregate(List<TimeBlock> timeBlocks, CalendarEntries payCalendarEntry)
timeBlocks
- payCalendarEntry
- public TkTimeBlockAggregate(List<TimeBlock> timeBlocks, CalendarEntries payCalendarEntry, Calendar payCalendar)
timeBlocks
- payCalendarEntry
- payCalendar
- public TkTimeBlockAggregate(List<TimeBlock> timeBlocks, CalendarEntries payCalendarEntry, Calendar payCalendar, boolean useUserTimeZone)
timeBlocks
- payCalendarEntry
- payCalendar
- useUserTimeZone
- public TkTimeBlockAggregate(List<TimeBlock> timeBlocks, CalendarEntries payCalendarEntry, Calendar payCalendar, boolean useUserTimeZone, List<org.joda.time.Interval> dayIntervals)
public TkTimeBlockAggregate(List<TimeBlock> timeBlocks, List<LeaveBlock> leaveBlocks, CalendarEntries payCalendarEntry)
timeBlocks
- leaveBlocks
- payCalendarEntry
- public TkTimeBlockAggregate(List<TimeBlock> timeBlocks, List<LeaveBlock> leaveBlocks, CalendarEntries payCalendarEntry, Calendar payCalendar)
timeBlocks
- leaveBlocks
- payCalendarEntry
- payCalendar
- public TkTimeBlockAggregate(List<TimeBlock> timeBlocks, List<LeaveBlock> leaveBlocks, CalendarEntries payCalendarEntry, Calendar payCalendar, boolean useUserTimeZone)
timeBlocks
- payCalendarEntry
- payCalendar
- useUserTimeZone
- public TkTimeBlockAggregate(List<TimeBlock> timeBlocks, List<LeaveBlock> leaveBlocks, CalendarEntries payCalendarEntry, Calendar payCalendar, boolean useUserTimeZone, List<org.joda.time.Interval> dayIntervals)
Method Detail |
---|
public List<TimeBlock> getFlattenedTimeBlockList()
public List<LeaveBlock> getFlattenedLeaveBlockList()
public List<List<TimeBlock>> getWeekTimeBlocks(int week)
week
-
public List<List<LeaveBlock>> getWeekLeaveBlocks(int week)
week
-
public List<FlsaWeek> getFlsaWeeks(org.joda.time.DateTimeZone zone)
zone
- The TimeZone to use when constructing this relative sorting.public List<List<FlsaWeek>> getFlsaWeeks(org.joda.time.DateTimeZone zone, String principalId)
public int numberOfAggregatedWeeks()
public List<List<TimeBlock>> getDayTimeBlockList()
public List<List<LeaveBlock>> getDayLeaveBlockList()
public CalendarEntries getPayCalendarEntry()
public void setPayCalendarEntry(CalendarEntries payCalendarEntry)
public Calendar getPayCalendar()
public void setPayCalendar(Calendar payCalendar)
public static TkTimeBlockAggregate combineTimeAndLeaveAggregates(TkTimeBlockAggregate tbAggregate, LeaveBlockAggregate lbAggregate)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |