lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey

TimeUnit

public class TimeUnit
extends MeasureUnit

java.lang.Object
   ↳ android.icu.util.MeasureUnit
     ↳ android.icu.util.TimeUnit


Measurement unit for time units.

See also:

Summary

Inherited fields

Public methods

static TimeUnit[] values()

Inherited methods

Public methods

values

added in API level 24
public static TimeUnit[] values ()

Returns
TimeUnit[] the available values