TimeUnit
时间单位,用于时间转化。
在 JVM 中会使用 java.util.concurrent.TimeUnit
, 其他平台则会参照进行简单实现。
Properties
Returns a representation of an immutable list of all enum entries, in the order they're declared.
Returns a representation of an immutable list of all enum entries, in the order they're declared.
Returns a representation of an immutable list of all enum entries, in the order they're declared.
Returns a representation of an immutable list of all enum entries, in the order they're declared.
Inherited properties
Functions
将以 sourceUnit 为单位的 sourceDuration 转化为当前单位的值
将以 sourceUnit 为单位的 sourceDuration 转化为当前单位的值
将以 sourceUnit 为单位的 sourceDuration 转化为当前单位的值
将以 sourceUnit 为单位的 sourceDuration 转化为当前单位的值
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.
Returns an array containing the constants of this enum type, in the order they're declared.
Returns an array containing the constants of this enum type, in the order they're declared.