mirror of
https://github.com/php/php-src.git
synced 2026-10-29 02:07:35 +08:00
This add missing Skeleton functions similar to #23049 and #23017 for IntlDatePatternGenerator. This adds IntlDatePatternGenerator::getSkeleton() and IntlDatePatternGenerator::getBaseSkeleton() Co-authored-by: David CARLIER <devnexen@gmail.com>
18 lines
470 B
PHP
18 lines
470 B
PHP
<?php
|
|
|
|
/** @generate-class-entries */
|
|
|
|
/** @not-serializable */
|
|
class IntlDatePatternGenerator
|
|
{
|
|
public function __construct(?string $locale = null) {}
|
|
|
|
public static function create(?string $locale = null): ?IntlDatePatternGenerator {}
|
|
|
|
public function getBestPattern(string $skeleton): string|false {}
|
|
|
|
public static function getSkeleton(string $pattern): string|false {}
|
|
|
|
public static function getBaseSkeleton(string $pattern): string|false {}
|
|
}
|