detect
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
Detect the style from the given source value.
the period style
the source value
if the value is not a known style