org.kuali.hr.time.flsa
Class FlsaDay

java.lang.Object
  extended by 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)
           
 
Method Summary
 List<TimeBlock> getAppliedTimeBlocks()
           
 Map<String,List<TimeBlock>> getEarnCodeToTimeBlocks()
           
 void remapTimeHourDetails()
          This method will compute the mappings present for this object: earnCodeToTimeBlocks earnCodeToHours
 void setAppliedTimeBlocks(List<TimeBlock> appliedTimeBlocks)
           
 void setEarnCodeToTimeBlocks(Map<String,List<TimeBlock>> earnCodeToTimeBlocks)
           
 void setTimeBlocks(List<TimeBlock> timeBlocks)
          Handles the breaking apart of existing time blocks around FLSA boundaries.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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/window
timeBlocks -
timeZone - The timezone we are constructing, relative.
Method Detail

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


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-2013 The Kuali Foundation. All Rights Reserved.