Class Seconds

java.lang.Object
com.independentsoft.office.odf.styles.Seconds

public class Seconds extends Object
Represents whether seconds are displayed as part of a date or time.
  • Constructor Details

    • Seconds

      public Seconds()
      Initializes a new instance of the Seconds class.
  • Method Details

    • clone

      public Seconds clone()
      Creates a new object that is a deep copy of the current instance.
      Overrides:
      clone in class Object
      Returns:
      A new object that is a copy of this instance.
    • toString

      public String toString()
      Converts the value of the current Seconds object to its equivalent string representation.
      Overrides:
      toString in class Object
      Returns:
      the string
    • getDisplayFormat

      public DisplayFormat getDisplayFormat()
      Gets the display format.
      Returns:
      the display format
    • setDisplayFormat

      public void setDisplayFormat(DisplayFormat format)
      Sets the display format.
      Parameters:
      format - the new display format