Class DatePattern

    • Field Detail

      • NO_SEPARATOR

        public static final char NO_SEPARATOR
        Shorthand for no separator (character 0).
        See Also:
        Constant Field Values
      • DEFAULT_SEPARATOR

        public static final char DEFAULT_SEPARATOR
        Default separator, -.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DatePattern

        public DatePattern()
        Creates a new pattern, with no display name.
      • DatePattern

        public DatePattern​(String string)
        Creates a new pattern using given display name.
        Parameters:
        string - Display name. It is only used in toString().