mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 01:38:41 +00:00
47 lines
763 B
PHP
Executable File
47 lines
763 B
PHP
Executable File
<?php
|
|
/**
|
|
* Jingga
|
|
*
|
|
* PHP Version 8.2
|
|
*
|
|
* @package phpOMS\Utils\Converter
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 2.0
|
|
* @version 1.0.0
|
|
* @link https://jingga.app
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace phpOMS\Utils\Converter;
|
|
|
|
use phpOMS\Stdlib\Base\Enum;
|
|
|
|
/**
|
|
* Time type enum.
|
|
*
|
|
* @package phpOMS\Utils\Converter
|
|
* @license OMS License 2.0
|
|
* @link https://jingga.app
|
|
* @since 1.0.0
|
|
*/
|
|
abstract class TimeType extends Enum
|
|
{
|
|
public const MILLISECONDS = 'ms';
|
|
|
|
public const SECONDS = 's';
|
|
|
|
public const MINUTES = 'i';
|
|
|
|
public const HOURS = 'h';
|
|
|
|
public const DAYS = 'd';
|
|
|
|
public const WEEKS = 'w';
|
|
|
|
public const MONTH = 'm';
|
|
|
|
public const QUARTER = 'q';
|
|
|
|
public const YEAR = 'y';
|
|
}
|