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

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

public class SmallMonthCalendar
extends java.lang.Object

This class provides a Small Html Month calendar.


Constructor Summary
SmallMonthCalendar()
           
 
Method Summary
static java.lang.String getDayClass(java.util.Calendar calendar)
          Calculate the style class to render the day
static java.lang.String getSmallMonthCalendar(java.lang.String strDate, Agenda agenda, CalendarUserOptions options)
          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
 

Constructor Detail

SmallMonthCalendar

public SmallMonthCalendar()
Method Detail

getSmallMonthCalendar

public static java.lang.String getSmallMonthCalendar(java.lang.String strDate,
                                                     Agenda agenda,
                                                     CalendarUserOptions options)
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.
Returns:
The HTML code of the month.

getDayClass

public static java.lang.String getDayClass(java.util.Calendar calendar)
Calculate the style class to render the day

Parameters:
calendar - A calendar object positionned on the day to render
Returns:
A CSS style


Copyright © 2009 Mairie de Paris. All Rights Reserved.