Class EnglishMonthStringFunction

    • Constructor Detail

      • EnglishMonthStringFunction

        public EnglishMonthStringFunction()
    • Method Detail

      • stringToMonth

        public java.time.Month stringToMonth​(String monthString)
        Description copied from interface: MonthStringFunction
        Converts the string found from month label
        Specified by:
        stringToMonth in interface MonthStringFunction
        Parameters:
        monthString - the month string found from month label
        Returns:
        the found month
      • monthToString

        public String monthToString​(java.time.Month month)
        Converts the Month to month label for MuiMonthPicker to locate the month button.
        Specified by:
        monthToString in interface MonthStringFunction
        Parameters:
        month - the month to convert to string
        Returns:
        the converted string of the month
      • getInstance

        public static EnglishMonthStringFunction getInstance()
        Gets the singleton instance.
        Returns:
        the singleton instance.