ILIAS
trunk Revision v11.0_alpha-1861-g09f3d197f78
|
Factory for Date Formats. More...
Public Member Functions | |
__construct (FormatBuilder $builder) | |
standard () | |
Get the ISO 8601 date format (YYYY-MM-DD) More... | |
custom () | |
Get the builder to define a custom DateFormat. More... | |
amend (DateFormat $format) | |
germanShort () | |
germanLong () | |
americanShort () | |
withTime12 (DateFormat $format) | |
withTime24 (DateFormat $format) | |
Protected Attributes | |
FormatBuilder | $builder |
Factory for Date Formats.
Definition at line 26 of file Factory.php.
ILIAS\Data\DateFormat\Factory::__construct | ( | FormatBuilder | $builder | ) |
ILIAS\Data\DateFormat\Factory::amend | ( | DateFormat | $format | ) |
Definition at line 51 of file Factory.php.
References ILIAS\Data\DateFormat\FormatBuilder\initWithFormat().
Referenced by ILIAS\Data\DateFormat\Factory\withTime12(), and ILIAS\Data\DateFormat\Factory\withTime24().
ILIAS\Data\DateFormat\Factory::americanShort | ( | ) |
Definition at line 67 of file Factory.php.
ILIAS\Data\DateFormat\Factory::custom | ( | ) |
Get the builder to define a custom DateFormat.
Definition at line 46 of file Factory.php.
References ILIAS\Data\DateFormat\Factory\$builder.
ILIAS\Data\DateFormat\Factory::germanLong | ( | ) |
Definition at line 61 of file Factory.php.
ILIAS\Data\DateFormat\Factory::germanShort | ( | ) |
Definition at line 56 of file Factory.php.
ILIAS\Data\DateFormat\Factory::standard | ( | ) |
Get the ISO 8601 date format (YYYY-MM-DD)
Definition at line 38 of file Factory.php.
ILIAS\Data\DateFormat\Factory::withTime12 | ( | DateFormat | $format | ) |
Definition at line 72 of file Factory.php.
References ILIAS\Data\DateFormat\Factory\amend().
ILIAS\Data\DateFormat\Factory::withTime24 | ( | DateFormat | $format | ) |
Definition at line 78 of file Factory.php.
References ILIAS\Data\DateFormat\Factory\amend().
|
protected |
Definition at line 28 of file Factory.php.
Referenced by ILIAS\Data\DateFormat\Factory\__construct(), and ILIAS\Data\DateFormat\Factory\custom().