Interface CalendarUnit


public interface CalendarUnit

A description of a calendar unit.

  • Method Details

    • getName

      DisplayText getName()
      Gets the full name of this unit.
      Returns:
      the name
      Compliance:
      mandatory - This method must be implemented.
    • getAbbrev3

      DisplayText getAbbrev3()
      Gets a 3-letter abbreviation for this unit.
      Returns:
      the abbreviation
      Compliance:
      mandatory - This method must be implemented.
    • getAbbrev2

      DisplayText getAbbrev2()
      Gets a 2-letter abbreviation for this unit.
      Returns:
      the abbreviation
      Compliance:
      mandatory - This method must be implemented.
    • getInitial

      DisplayText getInitial()
      Gets a single letter abbreviation for this unit.
      Returns:
      the initial
      Compliance:
      mandatory - This method must be implemented.
    • getDateTimeCode

      long getDateTimeCode()
      Gets the number of this unit used in DateTime .
      Returns:
      the code
      Compliance:
      mandatory - This method must be implemented.
    • getDescription

      DisplayText getDescription()
      Gets a description of this unit.
      Returns:
      the description
      Compliance:
      mandatory - This method must be implemented.