fromString

fun fromString(age: String): Age

Returns the corresponding age in this enum given a string resembling it.

Parameters

age
the age as a string.