java.lang.Object
com.inductiveautomation.factorypmi.application.components.calendar.common.PMICalendarUtils

public class PMICalendarUtils extends Object
Utilities to help with internationalization
  • Constructor Details

    • PMICalendarUtils

      public PMICalendarUtils()
  • Method Details

    • getWeekMonthDayFormat

      public static String getWeekMonthDayFormat(Locale locale, boolean useShortMonthFormat, boolean useShortWeekdayFormat)
    • getMonthDayFormat

      public static String getMonthDayFormat(Locale locale, boolean useShortMonthFormat)
    • getMonthYYFormat

      public static String getMonthYYFormat(Locale locale, boolean useShortMonthFormat)
    • getMonthYYYYFormat

      public static String getMonthYYYYFormat(Locale locale, boolean useShortMonthFormat)
    • getMMDDFormat

      public static String getMMDDFormat(Locale locale)
    • getMMDDYYYYFormat

      public static String getMMDDYYYYFormat(Locale locale)
    • getFormatsForLocale

      protected static String[] getFormatsForLocale(Locale locale)
    • getDateSymbols

      protected static DateFormatSymbols getDateSymbols(Locale locale)
    • getWeekdayNames

      public static String[] getWeekdayNames(Locale locale)
    • getShortWeekdayNames

      public static String[] getShortWeekdayNames(Locale locale)
    • getWorkweekDayNames

      public static String[] getWorkweekDayNames(Locale locale)
    • getShortWorkweekDayNames

      public static String[] getShortWorkweekDayNames(Locale locale)
    • isWeekend

      public static boolean isWeekend(int day)
    • getMonthNames

      public static String[] getMonthNames(Locale locale)
    • getShortMonthNames

      public static String[] getShortMonthNames(Locale locale)
    • getAmPmNames

      public static String[] getAmPmNames(Locale locale)
    • getMillisFormat

      public static String getMillisFormat(Locale locale)
    • getHoursFormat

      public static String getHoursFormat(Locale locale)