detect
Detect the style from the given source value.
Return
the duration style
Parameters
value
the source value
Throws
if the value is not a known style
Detect the style from the given source value.
the duration style
the source value
if the value is not a known style