Enum TimingFormat

java.lang.Object
java.lang.Enum<TimingFormat>
net.sourceforge.plantuml.timingdiagram.TimingFormat
All Implemented Interfaces:
Serializable, Comparable<TimingFormat>, java.lang.constant.Constable

public enum TimingFormat extends Enum<TimingFormat>
  • Enum Constant Details

  • Method Details

    • values

      public static TimingFormat[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TimingFormat valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • formatTime

      public String formatTime(BigDecimal time)
    • formatTime

      public String formatTime(long time)
    • createDate

      public static TimeTick createDate(int yyyy, int mm, int dd)