fr.paris.lutece.plugins.calendar.web
Class SmallMonthCalendar
java.lang.Object
fr.paris.lutece.plugins.calendar.web.SmallMonthCalendar
public class SmallMonthCalendar
- extends java.lang.Object
This class provides a Small Html Month calendar.
|
Method Summary |
static java.lang.String |
getDayClass(java.util.Calendar calendar,
boolean bIsSelectedDay)
Calculate the style class to render the day |
static java.lang.String |
getSmallMonthCalendar(java.lang.String strDate,
Agenda agenda,
CalendarUserOptions options,
boolean bIsSelectedDay)
Provides a small HTML month calendar displaying days with links |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SmallMonthCalendar
public SmallMonthCalendar()
getSmallMonthCalendar
public static java.lang.String getSmallMonthCalendar(java.lang.String strDate,
Agenda agenda,
CalendarUserOptions options,
boolean bIsSelectedDay)
- Provides a small HTML month calendar displaying days with links
- Parameters:
options - The options which contains displaying settingsstrDate - The code date defining the month to displayagenda - An agenda to hilight some days.bIsSelectedDay - true if the date is the selected day, false otherwise
- Returns:
- The HTML code of the month.
getDayClass
public static java.lang.String getDayClass(java.util.Calendar calendar,
boolean bIsSelectedDay)
- Calculate the style class to render the day
- Parameters:
calendar - A calendar object positionned on the day to renderbIsSelectedDay - true if the date is the selected day, false otherwise
- Returns:
- A CSS style
Copyright © 2011 Mairie de Paris. All Rights Reserved.