Class BambooTimeValue

java.lang.Object
com.atlassian.bamboo.utils.BambooTimeValue

@Immutable @Deprecated public class BambooTimeValue extends Object
Deprecated.
since 6.3 use Duration instead
To be replaced by java.time in JDK 8
  • Constructor Details

    • BambooTimeValue

      public BambooTimeValue(long value, @NotNull @NotNull TimeUnit unit)
      Deprecated.
  • Method Details

    • toMillis

      public long toMillis()
      Deprecated.
    • of

      @NotNull public static @NotNull BambooTimeValue of(long value, @NotNull @NotNull TimeUnit unit)
      Deprecated.
    • toNanos

      public long toNanos()
      Deprecated.
    • getValue

      public long getValue()
      Deprecated.
    • getUnit

      @NotNull public @NotNull TimeUnit getUnit()
      Deprecated.