glean / mozilla.telemetry.glean.private / TimeUnit

TimeUnit

enum class TimeUnit

Enumeration of different resolutions supported by the Timespan and DateTime metric types.

Enum Values

Nanosecond

Represents nanosecond precision.

Microsecond

Represents microsecond precision.

Millisecond

Represents millisecond precision.

Second

Represents second precision.

Minute

Represents minute precision.

Hour

Represents hour precision.

Day

Represents day precision.