Symfony\Component\Intl\DateFormatter\DateFormat\Transformer
Parser and formatter for date formats
- Author: Igor Wiedler <igor@wiedler.ch>
Synopsis
class Transformer
{
- // methods
- public abstract string format()
- public abstract string getReverseMatchingRegExp()
- public abstract array extractDateOptions()
- protected string padLeft()
Hierarchy
Extended by
- Symfony\Component\Intl\DateFormatter\DateFormat\DayTransformer
- Symfony\Component\Intl\DateFormatter\DateFormat\MinuteTransformer
- Symfony\Component\Intl\DateFormatter\DateFormat\Hour2400Transformer
- Symfony\Component\Intl\DateFormatter\DateFormat\TimeZoneTransformer
- Symfony\Component\Intl\DateFormatter\DateFormat\Hour1201Transformer
- Symfony\Component\Intl\DateFormatter\DateFormat\QuarterTransformer
- Symfony\Component\Intl\DateFormatter\DateFormat\Hour2401Transformer
- Symfony\Component\Intl\DateFormatter\DateFormat\DayOfWeekTransformer
- Symfony\Component\Intl\DateFormatter\DateFormat\SecondTransformer
- Symfony\Component\Intl\DateFormatter\DateFormat\DayOfYearTransformer
- Symfony\Component\Intl\DateFormatter\DateFormat\AmPmTransformer
- Symfony\Component\Intl\DateFormatter\DateFormat\HourTransformer
- Symfony\Component\Intl\DateFormatter\DateFormat\YearTransformer
- Symfony\Component\Intl\DateFormatter\DateFormat\Hour1200Transformer
- Symfony\Component\Intl\DateFormatter\DateFormat\MonthTransformer
- Symfony\Component\Locale\Stub\DateFormat\DayTransformer
- Symfony\Component\Locale\Stub\DateFormat\MinuteTransformer
- Symfony\Component\Locale\Stub\DateFormat\Transformer
- Symfony\Component\Locale\Stub\DateFormat\Hour2400Transformer
- Symfony\Component\Locale\Stub\DateFormat\TimeZoneTransformer
- Symfony\Component\Locale\Stub\DateFormat\Hour1201Transformer
- Symfony\Component\Locale\Stub\DateFormat\QuarterTransformer
- Symfony\Component\Locale\Stub\DateFormat\Hour2401Transformer
- Symfony\Component\Locale\Stub\DateFormat\DayOfWeekTransformer
- Symfony\Component\Locale\Stub\DateFormat\SecondTransformer
- Symfony\Component\Locale\Stub\DateFormat\DayOfYearTransformer
- Symfony\Component\Locale\Stub\DateFormat\AmPmTransformer
- Symfony\Component\Locale\Stub\DateFormat\HourTransformer
- Symfony\Component\Locale\Stub\DateFormat\YearTransformer
- Symfony\Component\Locale\Stub\DateFormat\Hour1200Transformer
- Symfony\Component\Locale\Stub\DateFormat\MonthTransformer
Methods
protected
- padLeft() — Pad a string with zeros to the left
public
- extractDateOptions() — Extract date options from a matched value returned by the processing of the reverse matching regular expression
- format() — Format a value using a configured DateTime as date/time source
- getReverseMatchingRegExp() — Returns a reverse matching regular expression of a string generated by format()