org.kuali.hr.time.calendar
Class TkCalendar

java.lang.Object
  extended by org.kuali.hr.time.calendar.CalendarParent
      extended by org.kuali.hr.time.calendar.TkCalendar
All Implemented Interfaces:
Serializable

public class TkCalendar
extends CalendarParent

See Also:
Serialized Form

Constructor Summary
TkCalendar()
           
TkCalendar(CalendarEntries calendarEntry)
           
 
Method Summary
 void assignAssignmentStyle(Map<String,String> styleMap)
           
static void assignDayLunchLabel(TkCalendarDay day)
           
 org.joda.time.DateTime getBeginDateTime()
           
 String getCalenadrYear()
           
static TkCalendar getCalendar(TkTimeBlockAggregate aggregate)
           
static TkCalendar getCalendar(TkTimeBlockAggregate tbAggregate, LeaveBlockAggregate lbAggregate)
           
 List<String> getCalendarDayHeadings()
          Assumption of 7 "days" per week, or 7 "blocks" per row.
 String getCalendarMonth()
           
 String getCalendarTitle()
          Provides the calendar title / heading.
 org.joda.time.DateTime getEndDateTime()
           
 CalendarEntries getPayCalEntry()
           
 void setPayCalEntry(CalendarEntries payCalEntry)
           
 
Methods inherited from class org.kuali.hr.time.calendar.CalendarParent
getCalendarEntry, getWeeks, setBeginDateTime, setCalendarEntry, setEndDateTime, setWeeks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TkCalendar

public TkCalendar()

TkCalendar

public TkCalendar(CalendarEntries calendarEntry)
Method Detail

getCalendar

public static TkCalendar getCalendar(TkTimeBlockAggregate tbAggregate,
                                     LeaveBlockAggregate lbAggregate)

getCalendar

public static TkCalendar getCalendar(TkTimeBlockAggregate aggregate)

assignDayLunchLabel

public static void assignDayLunchLabel(TkCalendarDay day)

assignAssignmentStyle

public void assignAssignmentStyle(Map<String,String> styleMap)

getPayCalEntry

public CalendarEntries getPayCalEntry()

setPayCalEntry

public void setPayCalEntry(CalendarEntries payCalEntry)

getBeginDateTime

public org.joda.time.DateTime getBeginDateTime()
Overrides:
getBeginDateTime in class CalendarParent

getEndDateTime

public org.joda.time.DateTime getEndDateTime()
Overrides:
getEndDateTime in class CalendarParent

getCalendarTitle

public String getCalendarTitle()
Provides the calendar title / heading. If the Pay Calendar entry spans multiple months, you get Abbreviated Month name + year of both the beginning month and the ending month.

Overrides:
getCalendarTitle in class CalendarParent
Returns:
String for calendar title use.

getCalendarDayHeadings

public List<String> getCalendarDayHeadings()
Assumption of 7 "days" per week, or 7 "blocks" per row.

Overrides:
getCalendarDayHeadings in class CalendarParent
Returns:
A list of string titles for each row block (day)

getCalenadrYear

public String getCalenadrYear()

getCalendarMonth

public String getCalendarMonth()


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.