com.groupdocs.search.options

Class DateFormatElement

    • Method Detail

      • getFormat

        public final String getFormat()

        Gets the format string.

        Returns:
        The format string.
      • getSingleFormat

        public final String getSingleFormat()

        Gets the single format string.

        Returns:
        The single format string.
      • toString

        public String toString()

        Returns a String that represents the current DateFormatElement.

        Overrides:
        toString in class Object
        Returns:
        A String that represents the current DateFormatElement.
      • getDayOfMonth

        public static DateFormatElement getDayOfMonth()

        Gets the day of month element, represented by one or two digits.

        Returns:
        The day of month element, represented by one or two digits.
      • getDayOfMonthTwoDigits

        public static DateFormatElement getDayOfMonthTwoDigits()

        Gets the day of month element, represented by two digits.

        Returns:
        The day of month element, represented by two digits.
      • getMonth

        public static DateFormatElement getMonth()

        Gets the month element, represented by one or two digits.

        Returns:
        The month element, represented by one or two digits.
      • getMonthTwoDigits

        public static DateFormatElement getMonthTwoDigits()

        Gets the month element, represented by two digits.

        Returns:
        The month element, represented by two digits.
      • getMonthAbbreviatedName

        public static DateFormatElement getMonthAbbreviatedName()

        Gets the month element, represented by abbreviated name.

        Returns:
        The month element, represented by abbreviated name.
      • getMonthFullName

        public static DateFormatElement getMonthFullName()

        Gets the month element, represented by full name.

        Returns:
        The month element, represented by full name.
      • getYear

        public static DateFormatElement getYear()

        Gets the year element, represented by one, two, three, or four digits.

        Returns:
        The year element, represented by one, two, three, or four digits.
      • getYearTwoDigits

        public static DateFormatElement getYearTwoDigits()

        Gets the year element, represented by two digits.

        Returns:
        The year element, represented by two digits.
      • getYearFourDigits

        public static DateFormatElement getYearFourDigits()

        Gets the year element, represented by four digits.

        Returns:
        The year element, represented by four digits.
      • getDateSeparator

        public static DateFormatElement getDateSeparator()

        Gets the date separator element.

        Returns:
        The date separator element.