Java Calendar Component v3.1
www.java-calendar.com

com.imagine.component.calendar.util
Class CalendarUtils

java.lang.Object
  extended bycom.imagine.component.calendar.util.CalendarUtils

public class CalendarUtils
extends java.lang.Object

Contains utility functions.


Constructor Summary
CalendarUtils()
           
 
Method Summary
static java.lang.String[] getDaysNames(java.util.Locale locale, int firstDayOfWeek)
          Get the names of the week days.
static java.lang.String[] getMonthsNames(java.util.Locale locale)
          Get the names of the months.
static int[] getWeekDaysCodes()
          Returns an array which contains the week days codes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarUtils

public CalendarUtils()
Method Detail

getMonthsNames

public static java.lang.String[] getMonthsNames(java.util.Locale locale)
Get the names of the months.

Returns:
The month names.

getDaysNames

public static java.lang.String[] getDaysNames(java.util.Locale locale,
                                              int firstDayOfWeek)
Get the names of the week days.

Parameters:
firstDayOfWeek - The first day of week.
Returns:
The names of the week days.

getWeekDaysCodes

public static int[] getWeekDaysCodes()
Returns an array which contains the week days codes.

Returns:
An array which contains the week days codes.

Java Calendar Component v3.1
www.java-calendar.com