|
| 1 | +<?php |
| 2 | + |
| 3 | +/** @generate-class-entries */ |
| 4 | + |
| 5 | +/** |
| 6 | + * @not-serializable |
| 7 | + * @strict-properties |
| 8 | + */ |
| 9 | +final class IntlRelativeDateTimeFormatter |
| 10 | +{ |
| 11 | + /** @cvalue UDAT_STYLE_LONG */ |
| 12 | + public const int STYLE_LONG = UNKNOWN; |
| 13 | + |
| 14 | + /** @cvalue UDAT_STYLE_SHORT */ |
| 15 | + public const int STYLE_SHORT = UNKNOWN; |
| 16 | + |
| 17 | + /** @cvalue UDAT_STYLE_NARROW */ |
| 18 | + public const int STYLE_NARROW = UNKNOWN; |
| 19 | + |
| 20 | + /** @cvalue UDISPCTX_CAPITALIZATION_NONE */ |
| 21 | + public const int CAPITALIZATION_NONE = UNKNOWN; |
| 22 | + |
| 23 | + /** @cvalue UDISPCTX_CAPITALIZATION_FOR_MIDDLE_OF_SENTENCE */ |
| 24 | + public const int CAPITALIZATION_FOR_MIDDLE_OF_SENTENCE = UNKNOWN; |
| 25 | + |
| 26 | + /** @cvalue UDISPCTX_CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE */ |
| 27 | + public const int CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE = UNKNOWN; |
| 28 | + |
| 29 | + /** @cvalue UDISPCTX_CAPITALIZATION_FOR_UI_LIST_OR_MENU */ |
| 30 | + public const int CAPITALIZATION_FOR_UI_LIST_OR_MENU = UNKNOWN; |
| 31 | + |
| 32 | + /** @cvalue UDISPCTX_CAPITALIZATION_FOR_STANDALONE */ |
| 33 | + public const int CAPITALIZATION_FOR_STANDALONE = UNKNOWN; |
| 34 | + |
| 35 | + /** @cvalue UDAT_REL_UNIT_YEAR */ |
| 36 | + public const int UNIT_YEAR = UNKNOWN; |
| 37 | + |
| 38 | + /** @cvalue UDAT_REL_UNIT_QUARTER */ |
| 39 | + public const int UNIT_QUARTER = UNKNOWN; |
| 40 | + |
| 41 | + /** @cvalue UDAT_REL_UNIT_MONTH */ |
| 42 | + public const int UNIT_MONTH = UNKNOWN; |
| 43 | + |
| 44 | + /** @cvalue UDAT_REL_UNIT_WEEK */ |
| 45 | + public const int UNIT_WEEK = UNKNOWN; |
| 46 | + |
| 47 | + /** @cvalue UDAT_REL_UNIT_DAY */ |
| 48 | + public const int UNIT_DAY = UNKNOWN; |
| 49 | + |
| 50 | + /** @cvalue UDAT_REL_UNIT_HOUR */ |
| 51 | + public const int UNIT_HOUR = UNKNOWN; |
| 52 | + |
| 53 | + /** @cvalue UDAT_REL_UNIT_MINUTE */ |
| 54 | + public const int UNIT_MINUTE = UNKNOWN; |
| 55 | + |
| 56 | + /** @cvalue UDAT_REL_UNIT_SECOND */ |
| 57 | + public const int UNIT_SECOND = UNKNOWN; |
| 58 | + |
| 59 | + /** @cvalue UDAT_REL_UNIT_SUNDAY */ |
| 60 | + public const int UNIT_SUNDAY = UNKNOWN; |
| 61 | + |
| 62 | + /** @cvalue UDAT_REL_UNIT_MONDAY */ |
| 63 | + public const int UNIT_MONDAY = UNKNOWN; |
| 64 | + |
| 65 | + /** @cvalue UDAT_REL_UNIT_TUESDAY */ |
| 66 | + public const int UNIT_TUESDAY = UNKNOWN; |
| 67 | + |
| 68 | + /** @cvalue UDAT_REL_UNIT_WEDNESDAY */ |
| 69 | + public const int UNIT_WEDNESDAY = UNKNOWN; |
| 70 | + |
| 71 | + /** @cvalue UDAT_REL_UNIT_THURSDAY */ |
| 72 | + public const int UNIT_THURSDAY = UNKNOWN; |
| 73 | + |
| 74 | + /** @cvalue UDAT_REL_UNIT_FRIDAY */ |
| 75 | + public const int UNIT_FRIDAY = UNKNOWN; |
| 76 | + |
| 77 | + /** @cvalue UDAT_REL_UNIT_SATURDAY */ |
| 78 | + public const int UNIT_SATURDAY = UNKNOWN; |
| 79 | + |
| 80 | + public function __construct( |
| 81 | + ?string $locale = null, |
| 82 | + int $style = IntlRelativeDateTimeFormatter::STYLE_LONG, |
| 83 | + int $capitalizationContext = IntlRelativeDateTimeFormatter::CAPITALIZATION_NONE, |
| 84 | + ?NumberFormatter $numberFormatter = null, |
| 85 | + ) {} |
| 86 | + |
| 87 | + public function format(int|float $offset, int $unit): string|false {} |
| 88 | + |
| 89 | + public function formatNumeric(int|float $offset, int $unit): string|false {} |
| 90 | + |
| 91 | + public function combineDateAndTime(string $relativeDate, string $time): string|false {} |
| 92 | + |
| 93 | + public function getErrorCode(): int {} |
| 94 | + |
| 95 | + public function getErrorMessage(): string {} |
| 96 | +} |
0 commit comments