|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--portlets.compoze.groupware.util.CalendarUtility
This class provides utility classes for calendar.
| Inner Class Summary | |
static class |
CalendarUtility.IntStringPair
This class holds an integer key and a String value, and is used to return the results of enumerating the days and months. |
| Constructor Summary | |
CalendarUtility()
|
|
| Method Summary | |
static java.util.TimeZone[] |
getCommonTimeZones()
Gets an array of common time zones. |
static java.lang.String |
getMonthByNumber(int iMonth,
int iFieldWidth,
java.util.Calendar cal,
java.util.Locale locale)
Gets the localized string for a month. |
static java.lang.String |
getMonthByNumber(int iMonth,
int iFieldWidth,
java.util.Locale locale)
Gets the localized string for a month. |
static java.lang.String |
getMonthByNumber(int iMonth,
java.util.Locale locale)
Gets the localized string for a month. |
static java.util.Collection |
getMonths(int iFieldWidth,
java.util.Calendar cal,
java.util.Locale locale)
Returns a collection of IntStringPair objects representing the months. |
static java.util.Collection |
getMonths(int iFieldWidth,
java.util.Locale locale)
Returns a collection of IntStringPair objects representing the months. |
static java.util.Collection |
getMonths(java.util.Locale locale)
Returns a collection of IntStringPair objects representing the months. |
static java.util.TimeZone |
getSubstituteTimeZone(java.util.TimeZone originalTimeZone)
Gets the substitute timezone for the original timezone. |
static java.lang.String |
getTimeZoneGMT(java.util.TimeZone timeZone,
java.util.Locale locale)
Gets the GMT component of the time zone. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CalendarUtility()
| Method Detail |
public static java.util.TimeZone[] getCommonTimeZones()
public static java.util.Collection getMonths(java.util.Locale locale)
locale - the locale to use
public static java.util.Collection getMonths(int iFieldWidth,
java.util.Locale locale)
iFieldWidth - width of month fieldlocale - the locale to use
public static java.util.Collection getMonths(int iFieldWidth,
java.util.Calendar cal,
java.util.Locale locale)
iFieldWidth - width of month fieldcal - the calendar to uselocale - the locale to use
public static java.lang.String getMonthByNumber(int iMonth,
java.util.Locale locale)
iMonth - month number (0=Jan)locale - locale to use
public static java.lang.String getMonthByNumber(int iMonth,
int iFieldWidth,
java.util.Locale locale)
iMonth - month number (0=Jan)iFieldWidth - width of month fieldlocale - locale to use
public static java.lang.String getMonthByNumber(int iMonth,
int iFieldWidth,
java.util.Calendar cal,
java.util.Locale locale)
iMonth - month number (0=Jan)iFieldWidth - width of month fieldcal - calendar to uselocale - locale to use
public static java.lang.String getTimeZoneGMT(java.util.TimeZone timeZone,
java.util.Locale locale)
timeZone - the timeZonelocale - the localepublic static java.util.TimeZone getSubstituteTimeZone(java.util.TimeZone originalTimeZone)
originalTimeZone - the original timezone (may not be null)
|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||