Class DurationTimeFactory

java.lang.Object
com.polarion.core.util.types.duration.DurationTimeFactory

@Deprecated public class DurationTimeFactory extends Object
Deprecated.
Author:
Jiri Banszel, Polarion Software
  • Field Details

    • ALL_UNITS

      public static final String[] ALL_UNITS
      Deprecated.
    • ESTIMATE_UNITS

      public static final String[] ESTIMATE_UNITS
      Deprecated.
    • ACCURACY_UNITS

      public static final String[] ACCURACY_UNITS
      Deprecated.
  • Method Details

    • durationTime

      public static DurationTime durationTime()
      Deprecated.
    • defaultEstimateInstance

      public static DurationTime defaultEstimateInstance()
      Deprecated.
    • durationTime

      public static DurationTime durationTime(Fraction days, Fraction hours)
      Deprecated.
    • durationTime

      public static DurationTime durationTime(int days, int hours)
      Deprecated.
    • getInstance

      public static DurationTime getInstance(long time, long oneDayLength)
      Deprecated.
    • timeAccuracy

      public static DurationTime timeAccuracy()
      Deprecated.
    • parseDuration

      public static DurationTime parseDuration(String s)
      Deprecated.
      Parses duration from String; decimal format is also supported. Returns null for empty or null input.
      Parameters:
      s -
      Since:
      3.5.0