com.groupdocs.search

Class DateFormatElement



  • public class DateFormatElement
    extends Object

    Represents date format element.

    • Method Detail

      • getFormat

        public final String getFormat()

        Gets the format string.

      • getSingleFormat

        public final String getSingleFormat()

        Gets the single format string.

      • toString

        public String toString()

        Returns a System.String that represents the current DateFormatElement.

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

        public static DateFormatElement getDayOfMonth()

        Gets the day of month element.

      • getDayOfMonthTwoDigits

        public static DateFormatElement getDayOfMonthTwoDigits()

        Gets the day of month element.

      • getMonthTwoDigits

        public static DateFormatElement getMonthTwoDigits()

        Gets the month element.

      • getMonthAbbreviatedName

        public static DateFormatElement getMonthAbbreviatedName()

        Gets the month element.

      • getMonthFullName

        public static DateFormatElement getMonthFullName()

        Gets the month element.

      • getYearTwoDigits

        public static DateFormatElement getYearTwoDigits()

        Gets the year element.

      • getYearFourDigits

        public static DateFormatElement getYearFourDigits()

        Gets the year element.

      • getDateSeparator

        public static DateFormatElement getDateSeparator()

        Gets the date separator element.