| |
|
| java.lang.Object org.blojsom.plugin.calendar.BlogCalendar
BlogCalendar | public class BlogCalendar (Code) | | BlogCalendar
author: David Czarnecki author: Mark Lussier since: blojsom 3.0 version: $Id: BlogCalendar.java,v 1.2 2007/01/17 02:35:08 czarneckid Exp $ |
BlogCalendar | public BlogCalendar(Calendar calendar, String blogurl)(Code) | | Public Constructor
Parameters: calendar - Caledar instance Parameters: blogurl - The blog's url for calendar navigation |
BlogCalendar | public BlogCalendar(Calendar calendar, String blogurl, Locale locale)(Code) | | Public Constructor
Parameters: calendar - Caledar instance Parameters: blogurl - The blog's url for calendar navigation Parameters: locale - Locale for the Calendar |
dayHasEntry | public boolean dayHasEntry(int dom)(Code) | | Determines if a day of the month has entries
Parameters: dom - the day of the month a boolean indicating entries exist |
getCalendar | public Calendar getCalendar()(Code) | | Get the Calendar instance
Calendar instance |
getCalendarUrl | public String getCalendarUrl()(Code) | | Get the Blog URL used by the calendar
the blog url |
getCaption | public String getCaption()(Code) | | Returns the current Month as MMMMM yyyy (ex: March 2003)
the current month and year as a string |
getCurrentDay | public int getCurrentDay()(Code) | | Gets the current day for this Calendar
current day as an int (as defined by Calendar) |
getCurrentMonth | public int getCurrentMonth()(Code) | | Gets the current month for this Calendar
current month as an int (as defined by Calendar) |
getCurrentYear | public int getCurrentYear()(Code) | | Gets the current year for this Calendar
current year as an int (as defined by Calendar) |
getDayOfWeekName | public String getDayOfWeekName(int dow)(Code) | | Get the localized name of a Day of the Week
Parameters: dow - the day of the week (as defined by Calendar) the day of the week as a localized string |
getDayOfWeekNames | public String[] getDayOfWeekNames()(Code) | | Get a lit of the day of the week names (localized)
String array of localized Day of Week names |
getDaysInMonth | public int getDaysInMonth()(Code) | | Returns the number of days in the current month
days in this month |
getEntryDates | public Boolean[] getEntryDates()(Code) | | Get the array of day of month entry flags
a boolean array of the months entries |
getFirstDayOfMonth | public int getFirstDayOfMonth()(Code) | | Returns the day of the week for the 1st of the month occurs on
the day of the week for the 1st of the month as an int |
getMonthName | public String getMonthName(int month)(Code) | | Get the localized name of the given month
Parameters: month - the month (as defined by Calendar) the month as a localized string |
getMonthNames | public String[] getMonthNames()(Code) | | Get a list of the month names (localized)
String array of localized month names |
getRequestedDateKey | public String getRequestedDateKey()(Code) | | Gets the current entry date match key (year+month+day)
Date match key as a String |
getShortDayOfWeekName | public String getShortDayOfWeekName(int dow)(Code) | | Get the localized abbreviated name of a Day of the Week
Parameters: dow - the day of the week (as defined by Calendar) the abbreviated day of the week as a localized string |
getShortDayOfWeekNames | public String[] getShortDayOfWeekNames()(Code) | | Get a lit of the abbreviated day of the week names (localized)
String array of localized abbreviated Day of Week names |
getShortMonthName | public String getShortMonthName(int month)(Code) | | Get the localized abbreviated name of the given month
Parameters: month - the month (as defined by Calendar) the abbreviated month as a localized string (ex: Feb) |
getShortMonthNames | public String[] getShortMonthNames()(Code) | | Get a list of the abbreviated month names (localized)
String array of localized abbreviated month names |
getToday | public Calendar getToday()(Code) | | Get today as a Calendar instance
Calendar instance |
removeEntryForDOM | public void removeEntryForDOM(int dom)(Code) | | Flag a day in the current month as NOT having entries
Parameters: dom - the day of the month |
setCurrentDay | public void setCurrentDay(int currentday)(Code) | | Sets the current day for this Calendar
Parameters: currentday - current day as an int (as defined by Calendar) |
setCurrentMonth | public void setCurrentMonth(int currentmonth)(Code) | | Sets the current month for this Calendar
Parameters: currentmonth - current month as an int (as defined by Calendar) |
setCurrentYear | public void setCurrentYear(int currentyear)(Code) | | Sets the current year for this Calendar
Parameters: currentyear - current year as an int (as defined by Calendar) |
setEntryForDOM | public void setEntryForDOM(int dom)(Code) | | Flag a day in the current month as having entries
Parameters: dom - the day of the month |
setRequestedDateKey | public void setRequestedDateKey(String requestedDateKey)(Code) | | Sets the current entry date match key (year+month+day)
Parameters: requestedDateKey - current entry match key |
|
|
|