public final class MetricUnits
extends java.lang.Object
Metadata
.
This class provides a list of common metric units and is not meant to be a complete list of possible units.Metadata
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BITS
Represents bits.
|
static java.lang.String |
BYTES
8
BITS |
static java.lang.String |
DAYS
24
HOURS |
static java.lang.String |
GIBIBITS
1024
MEBIBITS |
static java.lang.String |
GIGABITS
1000
MEGABITS |
static java.lang.String |
GIGABYTES
1000
MEGABYTES |
static java.lang.String |
HOURS
60
MINUTES |
static java.lang.String |
KIBIBITS
1024
BITS |
static java.lang.String |
KILOBITS
1000
BITS |
static java.lang.String |
KILOBYTES
1000
BYTES |
static java.lang.String |
MEBIBITS
1024
KIBIBITS |
static java.lang.String |
MEGABITS
1000
KILOBITS |
static java.lang.String |
MEGABYTES
1000
KILOBYTES |
static java.lang.String |
MICROSECONDS
1/1000
MILLISECONDS |
static java.lang.String |
MILLISECONDS
1/1000
SECONDS |
static java.lang.String |
MINUTES
60
SECONDS |
static java.lang.String |
NANOSECONDS
1/1000
MICROSECONDS |
static java.lang.String |
NONE
No unit
|
static java.lang.String |
PER_SECOND
Represent per second
|
static java.lang.String |
PERCENT
Represents percentage
|
static java.lang.String |
SECONDS
Represents seconds
|
public static final java.lang.String NONE
public static final java.lang.String BITS
public static final java.lang.String KILOBITS
BITS
public static final java.lang.String MEGABITS
KILOBITS
public static final java.lang.String GIGABITS
MEGABITS
public static final java.lang.String KIBIBITS
BITS
public static final java.lang.String MEBIBITS
KIBIBITS
public static final java.lang.String GIBIBITS
MEBIBITS
public static final java.lang.String BYTES
BITS
public static final java.lang.String KILOBYTES
BYTES
public static final java.lang.String MEGABYTES
KILOBYTES
public static final java.lang.String GIGABYTES
MEGABYTES
public static final java.lang.String NANOSECONDS
MICROSECONDS
public static final java.lang.String MICROSECONDS
MILLISECONDS
public static final java.lang.String MILLISECONDS
SECONDS
public static final java.lang.String SECONDS
public static final java.lang.String MINUTES
SECONDS
public static final java.lang.String HOURS
MINUTES
public static final java.lang.String DAYS
HOURS
public static final java.lang.String PERCENT
public static final java.lang.String PER_SECOND