detect

open fun detect(value: String): PeriodStyle

Detect the style from the given source value.

Return

the period style

Parameters

value

the source value

Throws

if the value is not a known style