getByName

open fun getByName(name: String): TimeUnit

Returns the 'Time Unit' literal with the specified name.

Return

the matching enumerator or null.

Parameters

name

the name.