fr.paris.lutece.plugins.calendar.web
Class SmallMonthCalendar

java.lang.Object
  extended by fr.paris.lutece.plugins.calendar.web.SmallMonthCalendar

public final class SmallMonthCalendar
extends Object

This class provides a Small Html Month calendar.


Method Summary
static String getDayClass(Calendar calendar, boolean bIsSelectedDay)
          Calculate the style class to render the day
static String getSmallMonthCalendar(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
 

Method Detail

getSmallMonthCalendar

public static String getSmallMonthCalendar(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 settings
strDate - The code date defining the month to display
agenda - 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 String getDayClass(Calendar calendar,
                                 boolean bIsSelectedDay)
Calculate the style class to render the day

Parameters:
calendar - A calendar object positionned on the day to render
bIsSelectedDay - true if the date is the selected day, false otherwise
Returns:
A CSS style


Copyright © 2014 Mairie de Paris. All Rights Reserved.