| java.lang.Object com.liferay.util.cal.CalendarUtil
CalendarUtil | public class CalendarUtil (Code) | | View Source
author: Brian Wing Shun Chan |
Method Summary | |
public static boolean | afterByDay(Date date1, Date date2) | public static boolean | beforeByDay(Date date1, Date date2) | public static boolean | equalsByDay(Date date1, Date date2) | public static int | getAge(Date date, TimeZone tz) | public static int | getAge(Date date, Calendar today) | public static String[] | getDays(Locale locale) | public static String[] | getDays(Locale locale, String pattern) | public static int | getDaysInMonth(Calendar cal) | public static int | getDaysInMonth(int month, int year) | public static Date | getGTDate(Calendar cal) | public static int | getGregorianDay(Calendar cal) | public static Date | getLTDate(Calendar cal) | public static int | getLastDayOfWeek(Calendar cal) | public static int[] | getMonthIds() | public static String[] | getMonths(Locale locale) | public static String[] | getMonths(Locale locale, String pattern) | public static Timestamp | getTimestamp(Date date) | public static boolean | isAfter(int month1, int day1, int year1, int hour1, int minute1, int amPm1, int month2, int day2, int year2, int hour2, int minute2, int amPm2, TimeZone timeZone, Locale locale) | public static boolean | isBroadcastDate(int month, int day, int year) | public static boolean | isDate(int month, int day, int year) | public static boolean | isFuture(int month, int year) | public static boolean | isFuture(int month, int year, TimeZone timeZone, Locale locale) | public static boolean | isFuture(int month, int day, int year) | public static boolean | isFuture(int month, int day, int year, TimeZone timeZone, Locale locale) | public static boolean | isFuture(int month, int day, int year, int hour, int minute, int amPm) | public static boolean | isFuture(int month, int day, int year, int hour, int minute, int amPm, TimeZone timeZone, Locale locale) | public static boolean | isGregorianDate(int month, int day, int year) | public static boolean | isJulianDate(int month, int day, int year) | public static Calendar | roundByMinutes(Calendar cal, int interval) |
DAYS_ABBREVIATION | public static String[] DAYS_ABBREVIATION(Code) | | |
MONTH_IDS | public static int[] MONTH_IDS(Code) | | |
afterByDay | public static boolean afterByDay(Date date1, Date date2)(Code) | | |
beforeByDay | public static boolean beforeByDay(Date date1, Date date2)(Code) | | |
equalsByDay | public static boolean equalsByDay(Date date1, Date date2)(Code) | | |
getDaysInMonth | public static int getDaysInMonth(int month, int year)(Code) | | |
getLastDayOfWeek | public static int getLastDayOfWeek(Calendar cal)(Code) | | |
getMonthIds | public static int[] getMonthIds()(Code) | | |
isAfter | public static boolean isAfter(int month1, int day1, int year1, int hour1, int minute1, int amPm1, int month2, int day2, int year2, int hour2, int minute2, int amPm2, TimeZone timeZone, Locale locale)(Code) | | |
isBroadcastDate | public static boolean isBroadcastDate(int month, int day, int year)(Code) | | |
isDate | public static boolean isDate(int month, int day, int year)(Code) | | |
isFuture | public static boolean isFuture(int month, int year)(Code) | | |
isFuture | public static boolean isFuture(int month, int day, int year)(Code) | | |
isFuture | public static boolean isFuture(int month, int day, int year, TimeZone timeZone, Locale locale)(Code) | | |
isFuture | public static boolean isFuture(int month, int day, int year, int hour, int minute, int amPm)(Code) | | |
isFuture | public static boolean isFuture(int month, int day, int year, int hour, int minute, int amPm, TimeZone timeZone, Locale locale)(Code) | | |
isGregorianDate | public static boolean isGregorianDate(int month, int day, int year)(Code) | | |
isJulianDate | public static boolean isJulianDate(int month, int day, int year)(Code) | | |
|
|