Civil Date PHP Package

Application

Table of Contents

Interfaces

TextNormalizer
Normalizes localized text for comparison and parsing.
ParsableTokenRule
Defines parsing behavior for a date-pattern token.
PatternElement
Represents an element in a compiled date pattern.
TokenRule
Defines the formatting behavior of a date-pattern token.

Classes

CalendarDate
Represents an immutable date in one supported calendar system.
CalendarSystem
Defines validation, conversion, and calendar-length behavior for a calendar system.
GregorianCalendar
Defines validation, conversion, and calendar-length behavior for the proleptic Gregorian calendar.
IslamicCalendar
Defines validation, conversion, and calendar-length behavior for the Islamic civil calendar.
JalaliCalendar
Defines validation, conversion, and calendar-length behavior for the Jalali calendar.
TabularIslamicCalendar
Defines validation, conversion, and calendar-length behavior for the tabular Islamic civil calendar.
DateOutOfRangeException
Exception thrown when a date cannot be represented in the requested calendar.
DateParseException
Exception thrown when a date string cannot be parsed.
GregorianDate
Represents an immutable date in the proleptic Gregorian calendar system.
IslamicDate
Represents an immutable date in the Islamic civil calendar.
JalaliDate
Represents an immutable date in the Jalali calendar system.
English
English calendar localization.
EnglishNumerals
Converts integers to and from English number words.
EnglishTextNormalizer
Normalizes English localized text.
Persian
Persian calendar localization.
PersianAfghanistan
Persian localization for Afghanistan.
PersianIran
Persian localization for Iran.
PersianNumerals
Converts integers to and from Persian number words.
PersianTextNormalizer
Normalizes Persian localized text and Arabic character variants.
CustomLocale
Locale customized from another locale definition.
Locale
Represents a regional locale and its localization services.
LocaleBuilder
Builds a custom locale from an existing locale definition.
LocaleRegistry
Stores locale definitions used by parsing and formatting APIs.
NumberLocalizer
Formats and parses localized integer representations.
NumberParseResult
Carries the outcome of parsing a localized number.
CompiledPattern
Represents a compiled date pattern.
ParseCapture
Represents a token capture in a compiled parse pattern.
PatternCompiler
Compiles date-pattern strings.
TextElement
Represents literal text in a date pattern.
TokenElement
Associates a token rule with its pattern symbol and optional calendar scope.
TokenRegistry
Stores date-pattern token rules by symbol.
DayOfWeekName
Formats and parses localized day-of-week-name token values.
EraName
Formats and parses localized era-name token values.
MonthName
Formats and parses localized month-name token values.
NumberDigit
Formats and parses localized number-digit token values.
NumberWord
Formats and parses localized number-word token values.
SeasonName
Formats and parses localized season-name token values.
TwoDigitYear
Formats and parses two-digit year token values.
EuclideanDivision
Provides Euclidean quotient and remainder operations.
LanguageTag
Validates and inspects locale language tags.
VernalEquinoxCalculator
Provides vernal-equinox Julian Days for supported Gregorian years.
YearNumbering
Converts between calendar and astronomical year numbering.

Enums

Calendar
Identifies a supported calendar.
DayOfWeek
Represents a civil day of week.
NumberForm
Identifies the representation used by a parsed number.
NumberParseFailureReason
Identifies why a localized number parse failed.
Season
Represents the four seasons of the year.
On this page

Search results