Class 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 Detail

      • BambooTimeValue

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

      • 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.