Class ShortMonthSymbol

java.lang.Object
com.aquima.interactions.foundation.text.symbol.AbstractFormatOnlySymbol
com.aquima.interactions.foundation.text.symbol.ShortMonthSymbol
All Implemented Interfaces:
IDateSymbol, Serializable

public final class ShortMonthSymbol extends AbstractFormatOnlySymbol
ShortMonthSymbol class to represent short representation of a month. This class can only be used for formatting. When using this symbol to parse strings to a date it will throw an exception.
Since:
6.5
Author:
Jon van Leuven
See Also:
  • Constructor Details

    • ShortMonthSymbol

      public ShortMonthSymbol()
  • Method Details

    • format

      public void format(Calendar c, StringBuffer sb)
      Description copied from interface: IDateSymbol
      Formats this symbol's field of the specified Calendar, and appends it to the StringBuffer.
      Parameters:
      c - Calendar object which holds the date/time that needs to be formatted. The instance is created inside the format method of the DateFormat class.
      sb - StringBuffer in which to place the result of the formatting operation.
    • getPattern

      public String getPattern()
      Description copied from interface: IDateSymbol
      Return the pattern representation of this NumberSymbol.
      Returns:
      String representing the pattern.