Class Duration

java.lang.Object
ch.tocco.nice2.optional.lms.impl.util.Duration

public class Duration extends Object
  • Constructor Details

    • Duration

      public Duration(long duration)
    • Duration

      public Duration(String duration)
  • Method Details

    • getMilliseconds

      public long getMilliseconds()
    • getAsString

      public String getAsString()
    • add

      public Duration add(Duration duration)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object