Symfony\Component\Intl\DateFormatter\DateFormat\HourTransformer::normalizeHour
Returns a normalized hour value suitable for the hour transformer type
Signature
public function normalizeHour(int
$hour,
[string
$marker = null] )
Parameters
$hour
— int- The hour value
$marker
— string- An optional AM/PM marker
Returns
- int
- The normalized hour value