class Hour2400Transformer extends HourTransformer
Parser and formatter for 24 hour format (0-23)
Methods
| int |
normalizeHour(int $hour, string $marker = null)
Returns a normalized hour value suitable for the hour transformer type |
|
|
format(DateTime $dateTime, $length)
{@inheritDoc} |
||
|
getReverseMatchingRegExp($length)
{@inheritDoc} |
||
|
extractDateOptions($matched, $length)
{@inheritDoc} |
Details
at line 32
public int
normalizeHour(int $hour, string $marker = null)
Returns a normalized hour value suitable for the hour transformer type
at line 24
public
format(DateTime $dateTime, $length)
{@inheritDoc}
at line 46
public
getReverseMatchingRegExp($length)
{@inheritDoc}
at line 54
public
extractDateOptions($matched, $length)
{@inheritDoc}