org.kuali.hr.time.flsa
Class FlsaDay
java.lang.Object
org.kuali.hr.time.flsa.FlsaDay
public class FlsaDay
- extends Object
Constructor Summary |
FlsaDay(org.joda.time.LocalDateTime flsaDate,
List<TimeBlock> timeBlocks,
org.joda.time.DateTimeZone timeZone)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlsaDay
public FlsaDay(org.joda.time.LocalDateTime flsaDate,
List<TimeBlock> timeBlocks,
org.joda.time.DateTimeZone timeZone)
- Parameters:
flsaDate
- A LocalDateTime because we want to be conscious of the
relative nature of this flsa/windowtimeBlocks
- timeZone
- The timezone we are constructing, relative.
setTimeBlocks
public void setTimeBlocks(List<TimeBlock> timeBlocks)
- Handles the breaking apart of existing time blocks around FLSA boundaries.
This method will compare the FLSA interval against the timeblock interval
to determine how many hours overlap. It will then examine the time hour
details
- Parameters:
timeBlocks
- a sorted list of time blocks.
remapTimeHourDetails
public void remapTimeHourDetails()
- This method will compute the mappings present for this object:
earnCodeToTimeBlocks
earnCodeToHours
getEarnCodeToHours
public Map<String,BigDecimal> getEarnCodeToHours()
getEarnCodeToTimeBlocks
public Map<String,List<TimeBlock>> getEarnCodeToTimeBlocks()
setEarnCodeToTimeBlocks
public void setEarnCodeToTimeBlocks(Map<String,List<TimeBlock>> earnCodeToTimeBlocks)
getAppliedTimeBlocks
public List<TimeBlock> getAppliedTimeBlocks()
setAppliedTimeBlocks
public void setAppliedTimeBlocks(List<TimeBlock> appliedTimeBlocks)
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.