Class TimeSpan

java.lang.Object
org.daypilot.date.TimeSpan

public class TimeSpan extends Object
  • Constructor Details

    • TimeSpan

      public TimeSpan(long ticks)
  • Method Details

    • fromMinutes

      public static TimeSpan fromMinutes(int minutes)
    • fromHours

      public static TimeSpan fromHours(int hours)
    • isZero

      public boolean isZero()
    • getTotalDays

      public double getTotalDays()
    • getDays

      public long getDays()
    • getTotalHours

      public double getTotalHours()
    • getHours

      public long getHours()
    • getTotalMinutes

      public double getTotalMinutes()
    • getMinutes

      public long getMinutes()
    • getTotalSeconds

      public double getTotalSeconds()
    • getSeconds

      public long getSeconds()
    • getTotalMilliseconds

      public long getTotalMilliseconds()
    • getMilliSeconds

      public long getMilliSeconds()
    • getTicks

      public long getTicks()
    • fromDays

      public static TimeSpan fromDays(int days)
    • add

      public TimeSpan add(TimeSpan span)
    • getDayHourMinuteString

      public String getDayHourMinuteString()
    • getHourMinuteString

      public String getHourMinuteString()
    • toString

      public String toString()
      Overrides:
      toString in class Object