4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Intl\DateFormatter\DateFormat
;
15 * Base class for hour transformers
17 * @author Eriksen Costa <eriksen.costa@infranology.com.br>
19 abstract class HourTransformer
extends Transformer
22 * Returns a normalized hour value suitable for the hour transformer type
24 * @param int $hour The hour value
25 * @param string $marker An optional AM/PM marker
27 * @return int The normalized hour value
29 abstract public function normalizeHour($hour, $marker = null);