@Immutable @ParametersAreNonnullByDefault public class BambooTimeValue extends Object
Constructor and Description |
---|
BambooTimeValue(long value,
TimeUnit unit) |
Modifier and Type | Method and Description |
---|---|
TimeUnit |
getUnit() |
long |
getValue() |
static BambooTimeValue |
of(long value,
TimeUnit unit) |
long |
toMillis() |
long |
toNanos() |
public BambooTimeValue(long value, @NotNull TimeUnit unit)
public long toMillis()
@NotNull public static BambooTimeValue of(long value, @NotNull TimeUnit unit)
public long toNanos()
public long getValue()
@NotNull public TimeUnit getUnit()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.