getHour

@IntRange(from = 0, to = 23)
open fun getHour(): Int

Returns the hour of day in the range [0, 23].