23 lines
642 B
PHP
23 lines
642 B
PHP
<?php /** @noinspection PhpUnusedPrivateFieldInspection */
|
|
|
|
|
|
namespace TorstenHettstedt\TimekeepingApi\Models;
|
|
|
|
use MyCLabs\Enum\Enum;
|
|
|
|
/**
|
|
* Enum-Klasse für die unterstützten Periode-Definitionen.
|
|
* Der Wert der Periode ist ein Format-String für {@link https://secure.php.net/manual/en/datetime.format.php}.
|
|
*
|
|
* @extends Enum<string>
|
|
*
|
|
* @method static PeriodDesignationEnum WEEKLY()
|
|
* @method static PeriodDesignationEnum MONTHLY()
|
|
* @method static PeriodDesignationEnum YEARLY()
|
|
*/
|
|
class PeriodDesignationEnum extends Enum
|
|
{
|
|
private const WEEKLY = 'Y#W';
|
|
private const MONTHLY = 'Y-m';
|
|
private const YEARLY = 'Y';
|
|
} |