A simple API extension for DateTime.
<autodoc generated by composer phpdoc
>
Methods | ||
---|---|---|
protected
static
|
safeCreateDateTimeZone(
DateTimeZone|string|int|false|null $object,
DateTimeZone|string|int|false|null $objectDump = null,
): CarbonTimeZone|null
|
# |
public
|
getTimezone(): CarbonTimeZone
|
# |
protected
static
|
getRangesByUnit(int $daysInMonth = 31): array
|
# |
public
|
copy(): static
|
# |
public
|
clone(): static
|
# |
public
|
avoidMutation(): static
|
# |
public
|
nowWithSameTz(): static
|
# |
public
|
carbonize(Carbon|CarbonPeriod|CarbonInterval|DateInterval|DatePeriod|DateTimeInterface|string|null $date = null): static
|
# |
public
|
__get(string $name): string|int|bool|DateTimeZone|null
|
# |
public
|
get(Unit|string $name): string|int|bool|DateTimeZone
|
# |
public
|
__isset(string $name): bool
|
# |
public
|
__set(string $name, string|int|DateTimeZone $value): void
|
# |
public
|
set(Unit|array|string $name, DateTimeZone|Month|string|int|float|null $value = null): $this
|
# |
public
|
getTranslatedDayName(string|null $context = null, string $keySuffix = '', string|null $defaultValue = null): string
|
# |
public
|
getTranslatedShortDayName(string|null $context = null): string
|
# |
public
|
getTranslatedMinDayName(string|null $context = null): string
|
# |
public
|
getTranslatedMonthName(string|null $context = null, string $keySuffix = '', string|null $defaultValue = null): string
|
# |
public
|
getTranslatedShortMonthName(string|null $context = null): string
|
# |
public
|
dayOfYear<T is int|null>(T $value = null): static|int
|
# |
public
|
weekday(WeekDay|int|null $value = null): static|int
|
# |
public
|
isoWeekday(WeekDay|int|null $value = null): static|int
|
# |
public
|
getDaysFromStartOfWeek(WeekDay|int|null $weekStartsAt = null): int
|
# |
public
|
setDaysFromStartOfWeek(int $numberOfDays, WeekDay|int|null $weekStartsAt = null): static
|
# |
public
|
setUnitNoOverflow(string $valueUnit, int $value, string $overflowUnit): static
|
# |
public
|
addUnitNoOverflow(string $valueUnit, int $value, string $overflowUnit): static
|
# |
public
|
subUnitNoOverflow(string $valueUnit, int $value, string $overflowUnit): static
|
# |
public
|
utcOffset(?int $minuteOffset = null): static|int
|
# |
public
|
setDate(int $year, int $month, int $day): static
|
# |
public
|
setISODate(int $year, int $week, int $day = 1): static
|
# |
public
|
setDateTime(int $year, int $month, int $day, int $hour, int $minute, int $second = 0, int $microseconds = 0): static
|
# |
public
|
setTime(int $hour, int $minute, int $second = 0, int $microseconds = 0): static
|
# |
public
|
setTimestamp(float|int|string $timestamp): static
|
# |
public
|
setTimeFromTimeString(string $time): static
|
# |
public
|
timezone(DateTimeZone|string|int $value): static
|
# |
public
|
tz(DateTimeZone|string|int|null $value = null): static|string
|
# |
public
|
setTimezone(DateTimeZone|string|int $timeZone): static
|
# |
public
|
shiftTimezone(DateTimeZone|string $value): static
|
# |
public
|
utc(): static
|
# |
public
|
setDateFrom(DateTimeInterface|string $date): static
|
# |
public
|
setTimeFrom(DateTimeInterface|string $date): static
|
# |
public
|
setDateTimeFrom(DateTimeInterface|string $date): static
|
# |
public
static
|
getDays(): array
|
# |
public
static
|
getWeekStartsAt(?string $locale = null): int
|
# |
public
static
|
getWeekEndsAt(string $locale = null): int
|
# |
public
static
|
getWeekendDays(): array
|
# |
public
static
|
setWeekendDays(array $days): void
|
# |
public
static
|
hasRelativeKeywords(?string $time): bool
|
# |
public
|
getIsoFormats(string|null $locale = null): array
|
# |
public
|
getCalendarFormats(string|null $locale = null): array
|
# |
public
static
|
getIsoUnits(): array
|
# |
public
|
getPaddedUnit(string $unit, int $length = 2, string $padString = '0', int $padType = STR_PAD_LEFT): string
|
# |
public
|
ordinal(string $key, ?string $period = null): string
|
# |
public
|
meridiem(bool $isLower = false): string
|
# |
public
|
getAltNumber(string $key): string
|
# |
public
|
isoFormat(string $format, string|null $originalFormat = null): string
|
# |
public
static
|
getFormatsToIsoReplacements(): array
|
# |
public
|
translatedFormat(string $format): string
|
# |
public
|
getOffsetString(string $separator = ':'): string
|
# |
public
static
|
__callStatic(string $method, array $parameters): mixed
|
# |
public
|
setUnit(string $unit, Month|int $value = null): static
|
# |
public
static
|
singularUnit(string $unit): string
|
# |
public
static
|
pluralUnit(string $unit): string
|
# |
public
static
|
sleep(int|float $seconds): void
|
# |
public
|
__call(string $method, array $parameters): mixed
|
# |
protected
|
resolveCarbon(DateTimeInterface|string|null $date): self
|
# |
protected
static
|
weekRotate(int $day, int $rotation): int
|
# |
protected
|
executeCallable(callable $macro, ...$parameters)
|
# |
protected
|
executeCallableWithContext(callable $macro, ...$parameters)
|
# |
protected
|
getAllGenericMacros(): Generator
|
# |
protected
static
|
getGenericMacros(): Generator
|
# |
protected
static
|
executeStaticCallable(callable $macro, ...$parameters)
|
# |
protected
|
getTranslatedFormByRegExp($baseKey, $keySuffix, $context, $subKey, $defaultValue)
|
# |
public
|
isUtc(): bool
|
# |
public
|
isLocal(): bool
|
# |
public
|
isValid(): bool
|
# |
public
|
isDST(): bool
|
# |
public
|
isSunday(): bool
|
# |
public
|
isMonday(): bool
|
# |
public
|
isTuesday(): bool
|
# |
public
|
isWednesday(): bool
|
# |
public
|
isThursday(): bool
|
# |
public
|
isFriday(): bool
|
# |
public
|
isSaturday(): bool
|
# |
public
|
isSameYear(DateTimeInterface|string $date): bool
|
# |
public
|
isCurrentYear(): bool
|
# |
public
|
isNextYear(): bool
|
# |
public
|
isLastYear(): bool
|
# |
public
|
isCurrentMonth(): bool
|
# |
public
|
isNextMonth(): bool
|
# |
public
|
isLastMonth(): bool
|
# |
public
|
isSameWeek(DateTimeInterface|string $date): bool
|
# |
public
|
isCurrentWeek(): bool
|
# |
public
|
isNextWeek(): bool
|
# |
public
|
isLastWeek(): bool
|
# |
public
|
isSameDay(DateTimeInterface|string $date): bool
|
# |
public
|
isCurrentDay(): bool
|
# |
public
|
isNextDay(): bool
|
# |
public
|
isLastDay(): bool
|
# |
public
|
isSameHour(DateTimeInterface|string $date): bool
|
# |
public
|
isCurrentHour(): bool
|
# |
public
|
isNextHour(): bool
|
# |
public
|
isLastHour(): bool
|
# |
public
|
isSameMinute(DateTimeInterface|string $date): bool
|
# |
public
|
isCurrentMinute(): bool
|
# |
public
|
isNextMinute(): bool
|
# |
public
|
isLastMinute(): bool
|
# |
public
|
isSameSecond(DateTimeInterface|string $date): bool
|
# |
public
|
isCurrentSecond(): bool
|
# |
public
|
isNextSecond(): bool
|
# |
public
|
isLastSecond(): bool
|
# |
public
|
isSameMilli(DateTimeInterface|string $date): bool
|
# |
public
|
isCurrentMilli(): bool
|
# |
public
|
isNextMilli(): bool
|
# |
public
|
isLastMilli(): bool
|
# |
public
|
isSameMillisecond(DateTimeInterface|string $date): bool
|
# |
public
|
isCurrentMillisecond(): bool
|
# |
public
|
isNextMillisecond(): bool
|
# |
public
|
isLastMillisecond(): bool
|
# |
public
|
isSameMicro(DateTimeInterface|string $date): bool
|
# |
public
|
isCurrentMicro(): bool
|
# |
public
|
isNextMicro(): bool
|
# |
public
|
isLastMicro(): bool
|
# |
public
|
isSameMicrosecond(DateTimeInterface|string $date): bool
|
# |
public
|
isCurrentMicrosecond(): bool
|
# |
public
|
isNextMicrosecond(): bool
|
# |
public
|
isLastMicrosecond(): bool
|
# |
public
|
isSameDecade(DateTimeInterface|string $date): bool
|
# |
public
|
isCurrentDecade(): bool
|
# |
public
|
isNextDecade(): bool
|
# |
public
|
isLastDecade(): bool
|
# |
public
|
isSameCentury(DateTimeInterface|string $date): bool
|
# |
public
|
isCurrentCentury(): bool
|
# |
public
|
isNextCentury(): bool
|
# |
public
|
isLastCentury(): bool
|
# |
public
|
isSameMillennium(DateTimeInterface|string $date): bool
|
# |
public
|
isCurrentMillennium(): bool
|
# |
public
|
isNextMillennium(): bool
|
# |
public
|
isLastMillennium(): bool
|
# |
public
|
isCurrentQuarter(): bool
|
# |
public
|
isNextQuarter(): bool
|
# |
public
|
isLastQuarter(): bool
|
# |
public
|
years(int $value): CarbonInterface
|
# |
public
|
year(int $value): CarbonInterface
|
# |
public
|
setYears(int $value): CarbonInterface
|
# |
public
|
setYear(int $value): CarbonInterface
|
# |
public
|
months(Month|int $value): CarbonInterface
|
# |
public
|
month(Month|int $value): CarbonInterface
|
# |
public
|
setMonths(Month|int $value): CarbonInterface
|
# |
public
|
setMonth(Month|int $value): CarbonInterface
|
# |
public
|
days(int $value): CarbonInterface
|
# |
public
|
day(int $value): CarbonInterface
|
# |
public
|
setDays(int $value): CarbonInterface
|
# |
public
|
setDay(int $value): CarbonInterface
|
# |
public
|
hours(int $value): CarbonInterface
|
# |
public
|
hour(int $value): CarbonInterface
|
# |
public
|
setHours(int $value): CarbonInterface
|
# |
public
|
setHour(int $value): CarbonInterface
|
# |
public
|
minutes(int $value): CarbonInterface
|
# |
public
|
minute(int $value): CarbonInterface
|
# |
public
|
setMinutes(int $value): CarbonInterface
|
# |
public
|
setMinute(int $value): CarbonInterface
|
# |
public
|
seconds(int $value): CarbonInterface
|
# |
public
|
second(int $value): CarbonInterface
|
# |
public
|
setSeconds(int $value): CarbonInterface
|
# |
public
|
setSecond(int $value): CarbonInterface
|
# |
public
|
millis(int $value): CarbonInterface
|
# |
public
|
milli(int $value): CarbonInterface
|
# |
public
|
setMillis(int $value): CarbonInterface
|
# |
public
|
setMilli(int $value): CarbonInterface
|
# |
public
|
milliseconds(int $value): CarbonInterface
|
# |
public
|
millisecond(int $value): CarbonInterface
|
# |
public
|
setMilliseconds(int $value): CarbonInterface
|
# |
public
|
setMillisecond(int $value): CarbonInterface
|
# |
public
|
micros(int $value): CarbonInterface
|
# |
public
|
micro(int $value): CarbonInterface
|
# |
public
|
setMicros(int $value): CarbonInterface
|
# |
public
|
setMicro(int $value): CarbonInterface
|
# |
public
|
microseconds(int $value): CarbonInterface
|
# |
public
|
microsecond(int $value): CarbonInterface
|
# |
public
|
setMicroseconds(int $value): CarbonInterface
|
# |
public
|
setMicrosecond(int $value): CarbonInterface
|
# |
public
|
addYears(int|float $value = 1): CarbonInterface
|
# |
public
|
addYear(): CarbonInterface
|
# |
public
|
subYears(int|float $value = 1): CarbonInterface
|
# |
public
|
subYear(): CarbonInterface
|
# |
public
|
addYearsWithOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addYearWithOverflow(): CarbonInterface
|
# |
public
|
subYearsWithOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subYearWithOverflow(): CarbonInterface
|
# |
public
|
addYearsWithoutOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addYearWithoutOverflow(): CarbonInterface
|
# |
public
|
subYearsWithoutOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subYearWithoutOverflow(): CarbonInterface
|
# |
public
|
addYearsWithNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addYearWithNoOverflow(): CarbonInterface
|
# |
public
|
subYearsWithNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subYearWithNoOverflow(): CarbonInterface
|
# |
public
|
addYearsNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addYearNoOverflow(): CarbonInterface
|
# |
public
|
subYearsNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subYearNoOverflow(): CarbonInterface
|
# |
public
|
addMonths(int|float $value = 1): CarbonInterface
|
# |
public
|
addMonth(): CarbonInterface
|
# |
public
|
subMonths(int|float $value = 1): CarbonInterface
|
# |
public
|
subMonth(): CarbonInterface
|
# |
public
|
addMonthsWithOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addMonthWithOverflow(): CarbonInterface
|
# |
public
|
subMonthsWithOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subMonthWithOverflow(): CarbonInterface
|
# |
public
|
addMonthsWithoutOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addMonthWithoutOverflow(): CarbonInterface
|
# |
public
|
subMonthsWithoutOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subMonthWithoutOverflow(): CarbonInterface
|
# |
public
|
addMonthsWithNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addMonthWithNoOverflow(): CarbonInterface
|
# |
public
|
subMonthsWithNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subMonthWithNoOverflow(): CarbonInterface
|
# |
public
|
addMonthsNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addMonthNoOverflow(): CarbonInterface
|
# |
public
|
subMonthsNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subMonthNoOverflow(): CarbonInterface
|
# |
public
|
addDays(int|float $value = 1): CarbonInterface
|
# |
public
|
addDay(): CarbonInterface
|
# |
public
|
subDays(int|float $value = 1): CarbonInterface
|
# |
public
|
subDay(): CarbonInterface
|
# |
public
|
addHours(int|float $value = 1): CarbonInterface
|
# |
public
|
addHour(): CarbonInterface
|
# |
public
|
subHours(int|float $value = 1): CarbonInterface
|
# |
public
|
subHour(): CarbonInterface
|
# |
public
|
addMinutes(int|float $value = 1): CarbonInterface
|
# |
public
|
addMinute(): CarbonInterface
|
# |
public
|
subMinutes(int|float $value = 1): CarbonInterface
|
# |
public
|
subMinute(): CarbonInterface
|
# |
public
|
addSeconds(int|float $value = 1): CarbonInterface
|
# |
public
|
addSecond(): CarbonInterface
|
# |
public
|
subSeconds(int|float $value = 1): CarbonInterface
|
# |
public
|
subSecond(): CarbonInterface
|
# |
public
|
addMillis(int|float $value = 1): CarbonInterface
|
# |
public
|
addMilli(): CarbonInterface
|
# |
public
|
subMillis(int|float $value = 1): CarbonInterface
|
# |
public
|
subMilli(): CarbonInterface
|
# |
public
|
addMilliseconds(int|float $value = 1): CarbonInterface
|
# |
public
|
addMillisecond(): CarbonInterface
|
# |
public
|
subMilliseconds(int|float $value = 1): CarbonInterface
|
# |
public
|
subMillisecond(): CarbonInterface
|
# |
public
|
addMicros(int|float $value = 1): CarbonInterface
|
# |
public
|
addMicro(): CarbonInterface
|
# |
public
|
subMicros(int|float $value = 1): CarbonInterface
|
# |
public
|
subMicro(): CarbonInterface
|
# |
public
|
addMicroseconds(int|float $value = 1): CarbonInterface
|
# |
public
|
addMicrosecond(): CarbonInterface
|
# |
public
|
subMicroseconds(int|float $value = 1): CarbonInterface
|
# |
public
|
subMicrosecond(): CarbonInterface
|
# |
public
|
addMillennia(int|float $value = 1): CarbonInterface
|
# |
public
|
addMillennium(): CarbonInterface
|
# |
public
|
subMillennia(int|float $value = 1): CarbonInterface
|
# |
public
|
subMillennium(): CarbonInterface
|
# |
public
|
addMillenniaWithOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addMillenniumWithOverflow(): CarbonInterface
|
# |
public
|
subMillenniaWithOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subMillenniumWithOverflow(): CarbonInterface
|
# |
public
|
addMillenniaWithoutOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addMillenniumWithoutOverflow(): CarbonInterface
|
# |
public
|
subMillenniaWithoutOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subMillenniumWithoutOverflow(): CarbonInterface
|
# |
public
|
addMillenniaWithNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addMillenniumWithNoOverflow(): CarbonInterface
|
# |
public
|
subMillenniaWithNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subMillenniumWithNoOverflow(): CarbonInterface
|
# |
public
|
addMillenniaNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addMillenniumNoOverflow(): CarbonInterface
|
# |
public
|
subMillenniaNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subMillenniumNoOverflow(): CarbonInterface
|
# |
public
|
addCenturies(int|float $value = 1): CarbonInterface
|
# |
public
|
addCentury(): CarbonInterface
|
# |
public
|
subCenturies(int|float $value = 1): CarbonInterface
|
# |
public
|
subCentury(): CarbonInterface
|
# |
public
|
addCenturiesWithOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addCenturyWithOverflow(): CarbonInterface
|
# |
public
|
subCenturiesWithOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subCenturyWithOverflow(): CarbonInterface
|
# |
public
|
addCenturiesWithoutOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addCenturyWithoutOverflow(): CarbonInterface
|
# |
public
|
subCenturiesWithoutOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subCenturyWithoutOverflow(): CarbonInterface
|
# |
public
|
addCenturiesWithNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addCenturyWithNoOverflow(): CarbonInterface
|
# |
public
|
subCenturiesWithNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subCenturyWithNoOverflow(): CarbonInterface
|
# |
public
|
addCenturiesNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addCenturyNoOverflow(): CarbonInterface
|
# |
public
|
subCenturiesNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subCenturyNoOverflow(): CarbonInterface
|
# |
public
|
addDecades(int|float $value = 1): CarbonInterface
|
# |
public
|
addDecade(): CarbonInterface
|
# |
public
|
subDecades(int|float $value = 1): CarbonInterface
|
# |
public
|
subDecade(): CarbonInterface
|
# |
public
|
addDecadesWithOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addDecadeWithOverflow(): CarbonInterface
|
# |
public
|
subDecadesWithOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subDecadeWithOverflow(): CarbonInterface
|
# |
public
|
addDecadesWithoutOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addDecadeWithoutOverflow(): CarbonInterface
|
# |
public
|
subDecadesWithoutOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subDecadeWithoutOverflow(): CarbonInterface
|
# |
public
|
addDecadesWithNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addDecadeWithNoOverflow(): CarbonInterface
|
# |
public
|
subDecadesWithNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subDecadeWithNoOverflow(): CarbonInterface
|
# |
public
|
addDecadesNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addDecadeNoOverflow(): CarbonInterface
|
# |
public
|
subDecadesNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subDecadeNoOverflow(): CarbonInterface
|
# |
public
|
addQuarters(int|float $value = 1): CarbonInterface
|
# |
public
|
addQuarter(): CarbonInterface
|
# |
public
|
subQuarters(int|float $value = 1): CarbonInterface
|
# |
public
|
subQuarter(): CarbonInterface
|
# |
public
|
addQuartersWithOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addQuarterWithOverflow(): CarbonInterface
|
# |
public
|
subQuartersWithOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subQuarterWithOverflow(): CarbonInterface
|
# |
public
|
addQuartersWithoutOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addQuarterWithoutOverflow(): CarbonInterface
|
# |
public
|
subQuartersWithoutOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subQuarterWithoutOverflow(): CarbonInterface
|
# |
public
|
addQuartersWithNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addQuarterWithNoOverflow(): CarbonInterface
|
# |
public
|
subQuartersWithNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subQuarterWithNoOverflow(): CarbonInterface
|
# |
public
|
addQuartersNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
addQuarterNoOverflow(): CarbonInterface
|
# |
public
|
subQuartersNoOverflow(int|float $value = 1): CarbonInterface
|
# |
public
|
subQuarterNoOverflow(): CarbonInterface
|
# |
public
|
addWeeks(int|float $value = 1): CarbonInterface
|
# |
public
|
addWeek(): CarbonInterface
|
# |
public
|
subWeeks(int|float $value = 1): CarbonInterface
|
# |
public
|
subWeek(): CarbonInterface
|
# |
public
|
addWeekdays(int|float $value = 1): CarbonInterface
|
# |
public
|
addWeekday(): CarbonInterface
|
# |
public
|
subWeekdays(int|float $value = 1): CarbonInterface
|
# |
public
|
subWeekday(): CarbonInterface
|
# |
public
|
addUTCMicros(int|float $value = 1): CarbonInterface
|
# |
public
|
addUTCMicro(): CarbonInterface
|
# |
public
|
subUTCMicros(int|float $value = 1): CarbonInterface
|
# |
public
|
subUTCMicro(): CarbonInterface
|
# |
public
|
microsUntil($endDate = null, int|float $factor = 1): CarbonPeriod
|
# |
public
|
diffInUTCMicros(DateTimeInterface|string|null $date, bool $absolute = false): float
|
# |
public
|
addUTCMicroseconds(int|float $value = 1): CarbonInterface
|
# |
public
|
addUTCMicrosecond(): CarbonInterface
|
# |
public
|
subUTCMicroseconds(int|float $value = 1): CarbonInterface
|
# |
public
|
subUTCMicrosecond(): CarbonInterface
|
# |
public
|
microsecondsUntil($endDate = null, int|float $factor = 1): CarbonPeriod
|
# |
public
|
diffInUTCMicroseconds(DateTimeInterface|string|null $date, bool $absolute = false): float
|
# |
public
|
addUTCMillis(int|float $value = 1): CarbonInterface
|
# |
public
|
addUTCMilli(): CarbonInterface
|
# |
public
|
subUTCMillis(int|float $value = 1): CarbonInterface
|
# |
public
|
subUTCMilli(): CarbonInterface
|
# |
public
|
millisUntil($endDate = null, int|float $factor = 1): CarbonPeriod
|
# |
public
|
diffInUTCMillis(DateTimeInterface|string|null $date, bool $absolute = false): float
|
# |
public
|
addUTCMilliseconds(int|float $value = 1): CarbonInterface
|
# |
public
|
addUTCMillisecond(): CarbonInterface
|
# |
public
|
subUTCMilliseconds(int|float $value = 1): CarbonInterface
|
# |
public
|
subUTCMillisecond(): CarbonInterface
|
# |
public
|
millisecondsUntil($endDate = null, int|float $factor = 1): CarbonPeriod
|
# |
public
|
diffInUTCMilliseconds(DateTimeInterface|string|null $date, bool $absolute = false): float
|
# |
public
|
addUTCSeconds(int|float $value = 1): CarbonInterface
|
# |
public
|
addUTCSecond(): CarbonInterface
|
# |
public
|
subUTCSeconds(int|float $value = 1): CarbonInterface
|
# |
public
|
subUTCSecond(): CarbonInterface
|
# |
public
|
secondsUntil($endDate = null, int|float $factor = 1): CarbonPeriod
|
# |
public
|
diffInUTCSeconds(DateTimeInterface|string|null $date, bool $absolute = false): float
|
# |
public
|
addUTCMinutes(int|float $value = 1): CarbonInterface
|
# |
public
|
addUTCMinute(): CarbonInterface
|
# |
public
|
subUTCMinutes(int|float $value = 1): CarbonInterface
|
# |
public
|
subUTCMinute(): CarbonInterface
|
# |
public
|
minutesUntil($endDate = null, int|float $factor = 1): CarbonPeriod
|
# |
public
|
diffInUTCMinutes(DateTimeInterface|string|null $date, bool $absolute = false): float
|
# |
public
|
addUTCHours(int|float $value = 1): CarbonInterface
|
# |
public
|
addUTCHour(): CarbonInterface
|
# |
public
|
subUTCHours(int|float $value = 1): CarbonInterface
|
# |
public
|
subUTCHour(): CarbonInterface
|
# |
public
|
hoursUntil($endDate = null, int|float $factor = 1): CarbonPeriod
|
# |
public
|
diffInUTCHours(DateTimeInterface|string|null $date, bool $absolute = false): float
|
# |
public
|
addUTCDays(int|float $value = 1): CarbonInterface
|
# |
public
|
addUTCDay(): CarbonInterface
|
# |
public
|
subUTCDays(int|float $value = 1): CarbonInterface
|
# |
public
|
subUTCDay(): CarbonInterface
|
# |
public
|
daysUntil($endDate = null, int|float $factor = 1): CarbonPeriod
|
# |
public
|
diffInUTCDays(DateTimeInterface|string|null $date, bool $absolute = false): float
|
# |
public
|
addUTCWeeks(int|float $value = 1): CarbonInterface
|
# |
public
|
addUTCWeek(): CarbonInterface
|
# |
public
|
subUTCWeeks(int|float $value = 1): CarbonInterface
|
# |
public
|
subUTCWeek(): CarbonInterface
|
# |
public
|
weeksUntil($endDate = null, int|float $factor = 1): CarbonPeriod
|
# |
public
|
diffInUTCWeeks(DateTimeInterface|string|null $date, bool $absolute = false): float
|
# |
public
|
addUTCMonths(int|float $value = 1): CarbonInterface
|
# |
public
|
addUTCMonth(): CarbonInterface
|
# |
public
|
subUTCMonths(int|float $value = 1): CarbonInterface
|
# |
public
|
subUTCMonth(): CarbonInterface
|
# |
public
|
monthsUntil($endDate = null, int|float $factor = 1): CarbonPeriod
|
# |
public
|
diffInUTCMonths(DateTimeInterface|string|null $date, bool $absolute = false): float
|
# |
public
|
addUTCQuarters(int|float $value = 1): CarbonInterface
|
# |
public
|
addUTCQuarter(): CarbonInterface
|
# |
public
|
subUTCQuarters(int|float $value = 1): CarbonInterface
|
# |
public
|
subUTCQuarter(): CarbonInterface
|
# |
public
|
quartersUntil($endDate = null, int|float $factor = 1): CarbonPeriod
|
# |
public
|
diffInUTCQuarters(DateTimeInterface|string|null $date, bool $absolute = false): float
|
# |
public
|
addUTCYears(int|float $value = 1): CarbonInterface
|
# |
public
|
addUTCYear(): CarbonInterface
|
# |
public
|
subUTCYears(int|float $value = 1): CarbonInterface
|
# |
public
|
subUTCYear(): CarbonInterface
|
# |
public
|
yearsUntil($endDate = null, int|float $factor = 1): CarbonPeriod
|
# |
public
|
diffInUTCYears(DateTimeInterface|string|null $date, bool $absolute = false): float
|
# |
public
|
addUTCDecades(int|float $value = 1): CarbonInterface
|
# |
public
|
addUTCDecade(): CarbonInterface
|
# |
public
|
subUTCDecades(int|float $value = 1): CarbonInterface
|
# |
public
|
subUTCDecade(): CarbonInterface
|
# |
public
|
decadesUntil($endDate = null, int|float $factor = 1): CarbonPeriod
|
# |
public
|
diffInUTCDecades(DateTimeInterface|string|null $date, bool $absolute = false): float
|
# |
public
|
addUTCCenturies(int|float $value = 1): CarbonInterface
|
# |
public
|
addUTCCentury(): CarbonInterface
|
# |
public
|
subUTCCenturies(int|float $value = 1): CarbonInterface
|
# |
public
|
subUTCCentury(): CarbonInterface
|
# |
public
|
centuriesUntil($endDate = null, int|float $factor = 1): CarbonPeriod
|
# |
public
|
diffInUTCCenturies(DateTimeInterface|string|null $date, bool $absolute = false): float
|
# |
public
|
addUTCMillennia(int|float $value = 1): CarbonInterface
|
# |
public
|
addUTCMillennium(): CarbonInterface
|
# |
public
|
subUTCMillennia(int|float $value = 1): CarbonInterface
|
# |
public
|
subUTCMillennium(): CarbonInterface
|
# |
public
|
millenniaUntil($endDate = null, int|float $factor = 1): CarbonPeriod
|
# |
public
|
diffInUTCMillennia(DateTimeInterface|string|null $date, bool $absolute = false): float
|
# |
public
|
roundYear(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
roundYears(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
floorYear(float $precision = 1): CarbonInterface
|
# |
public
|
floorYears(float $precision = 1): CarbonInterface
|
# |
public
|
ceilYear(float $precision = 1): CarbonInterface
|
# |
public
|
ceilYears(float $precision = 1): CarbonInterface
|
# |
public
|
roundMonth(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
roundMonths(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
floorMonth(float $precision = 1): CarbonInterface
|
# |
public
|
floorMonths(float $precision = 1): CarbonInterface
|
# |
public
|
ceilMonth(float $precision = 1): CarbonInterface
|
# |
public
|
ceilMonths(float $precision = 1): CarbonInterface
|
# |
public
|
roundDay(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
roundDays(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
floorDay(float $precision = 1): CarbonInterface
|
# |
public
|
floorDays(float $precision = 1): CarbonInterface
|
# |
public
|
ceilDay(float $precision = 1): CarbonInterface
|
# |
public
|
ceilDays(float $precision = 1): CarbonInterface
|
# |
public
|
roundHour(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
roundHours(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
floorHour(float $precision = 1): CarbonInterface
|
# |
public
|
floorHours(float $precision = 1): CarbonInterface
|
# |
public
|
ceilHour(float $precision = 1): CarbonInterface
|
# |
public
|
ceilHours(float $precision = 1): CarbonInterface
|
# |
public
|
roundMinute(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
roundMinutes(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
floorMinute(float $precision = 1): CarbonInterface
|
# |
public
|
floorMinutes(float $precision = 1): CarbonInterface
|
# |
public
|
ceilMinute(float $precision = 1): CarbonInterface
|
# |
public
|
ceilMinutes(float $precision = 1): CarbonInterface
|
# |
public
|
roundSecond(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
roundSeconds(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
floorSecond(float $precision = 1): CarbonInterface
|
# |
public
|
floorSeconds(float $precision = 1): CarbonInterface
|
# |
public
|
ceilSecond(float $precision = 1): CarbonInterface
|
# |
public
|
ceilSeconds(float $precision = 1): CarbonInterface
|
# |
public
|
roundMillennium(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
roundMillennia(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
floorMillennium(float $precision = 1): CarbonInterface
|
# |
public
|
floorMillennia(float $precision = 1): CarbonInterface
|
# |
public
|
ceilMillennium(float $precision = 1): CarbonInterface
|
# |
public
|
ceilMillennia(float $precision = 1): CarbonInterface
|
# |
public
|
roundCentury(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
roundCenturies(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
floorCentury(float $precision = 1): CarbonInterface
|
# |
public
|
floorCenturies(float $precision = 1): CarbonInterface
|
# |
public
|
ceilCentury(float $precision = 1): CarbonInterface
|
# |
public
|
ceilCenturies(float $precision = 1): CarbonInterface
|
# |
public
|
roundDecade(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
roundDecades(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
floorDecade(float $precision = 1): CarbonInterface
|
# |
public
|
floorDecades(float $precision = 1): CarbonInterface
|
# |
public
|
ceilDecade(float $precision = 1): CarbonInterface
|
# |
public
|
ceilDecades(float $precision = 1): CarbonInterface
|
# |
public
|
roundQuarter(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
roundQuarters(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
floorQuarter(float $precision = 1): CarbonInterface
|
# |
public
|
floorQuarters(float $precision = 1): CarbonInterface
|
# |
public
|
ceilQuarter(float $precision = 1): CarbonInterface
|
# |
public
|
ceilQuarters(float $precision = 1): CarbonInterface
|
# |
public
|
roundMillisecond(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
roundMilliseconds(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
floorMillisecond(float $precision = 1): CarbonInterface
|
# |
public
|
floorMilliseconds(float $precision = 1): CarbonInterface
|
# |
public
|
ceilMillisecond(float $precision = 1): CarbonInterface
|
# |
public
|
ceilMilliseconds(float $precision = 1): CarbonInterface
|
# |
public
|
roundMicrosecond(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
roundMicroseconds(float $precision = 1, string $function = "\"round\""): CarbonInterface
|
# |
public
|
floorMicrosecond(float $precision = 1): CarbonInterface
|
# |
public
|
floorMicroseconds(float $precision = 1): CarbonInterface
|
# |
public
|
ceilMicrosecond(float $precision = 1): CarbonInterface
|
# |
public
|
ceilMicroseconds(float $precision = 1): CarbonInterface
|
# |
public
|
shortAbsoluteDiffForHumans(DateTimeInterface $other = null, int $parts = 1): string
|
# |
public
|
longAbsoluteDiffForHumans(DateTimeInterface $other = null, int $parts = 1): string
|
# |
public
|
shortRelativeDiffForHumans(DateTimeInterface $other = null, int $parts = 1): string
|
# |
public
|
longRelativeDiffForHumans(DateTimeInterface $other = null, int $parts = 1): string
|
# |
public
|
shortRelativeToNowDiffForHumans(DateTimeInterface $other = null, int $parts = 1): string
|
# |
public
|
longRelativeToNowDiffForHumans(DateTimeInterface $other = null, int $parts = 1): string
|
# |
public
|
shortRelativeToOtherDiffForHumans(DateTimeInterface $other = null, int $parts = 1): string
|
# |
public
|
longRelativeToOtherDiffForHumans(DateTimeInterface $other = null, int $parts = 1): string
|
# |
public
|
centuriesInMillennium(): int
|
# |
public
|
centuryOfMillennium(?int $century = null): int|static
|
# |
public
|
dayOfCentury(?int $day = null): int|static
|
# |
public
|
dayOfDecade(?int $day = null): int|static
|
# |
public
|
dayOfMillennium(?int $day = null): int|static
|
# |
public
|
dayOfMonth(?int $day = null): int|static
|
# |
public
|
dayOfQuarter(?int $day = null): int|static
|
# |
public
|
dayOfWeek(?int $day = null): int|static
|
# |
public
|
daysInCentury(): int
|
# |
public
|
daysInDecade(): int
|
# |
public
|
daysInMillennium(): int
|
# |
public
|
daysInMonth(): int
|
# |
public
|
daysInQuarter(): int
|
# |
public
|
daysInWeek(): int
|
# |
public
|
daysInYear(): int
|
# |
public
|
decadeOfCentury(?int $decade = null): int|static
|
# |
public
|
decadeOfMillennium(?int $decade = null): int|static
|
# |
public
|
decadesInCentury(): int
|
# |
public
|
decadesInMillennium(): int
|
# |
public
|
hourOfCentury(?int $hour = null): int|static
|
# |
public
|
hourOfDay(?int $hour = null): int|static
|
# |
public
|
hourOfDecade(?int $hour = null): int|static
|
# |
public
|
hourOfMillennium(?int $hour = null): int|static
|
# |
public
|
hourOfMonth(?int $hour = null): int|static
|
# |
public
|
hourOfQuarter(?int $hour = null): int|static
|
# |
public
|
hourOfWeek(?int $hour = null): int|static
|
# |
public
|
hourOfYear(?int $hour = null): int|static
|
# |
public
|
hoursInCentury(): int
|
# |
public
|
hoursInDay(): int
|
# |
public
|
hoursInDecade(): int
|
# |
public
|
hoursInMillennium(): int
|
# |
public
|
hoursInMonth(): int
|
# |
public
|
hoursInQuarter(): int
|
# |
public
|
hoursInWeek(): int
|
# |
public
|
hoursInYear(): int
|
# |
public
|
microsecondOfCentury(?int $microsecond = null): int|static
|
# |
public
|
microsecondOfDay(?int $microsecond = null): int|static
|
# |
public
|
microsecondOfDecade(?int $microsecond = null): int|static
|
# |
public
|
microsecondOfHour(?int $microsecond = null): int|static
|
# |
public
|
microsecondOfMillennium(?int $microsecond = null): int|static
|
# |
public
|
microsecondOfMillisecond(?int $microsecond = null): int|static
|
# |
public
|
microsecondOfMinute(?int $microsecond = null): int|static
|
# |
public
|
microsecondOfMonth(?int $microsecond = null): int|static
|
# |
public
|
microsecondOfQuarter(?int $microsecond = null): int|static
|
# |
public
|
microsecondOfSecond(?int $microsecond = null): int|static
|
# |
public
|
microsecondOfWeek(?int $microsecond = null): int|static
|
# |
public
|
microsecondOfYear(?int $microsecond = null): int|static
|
# |
public
|
microsecondsInCentury(): int
|
# |
public
|
microsecondsInDay(): int
|
# |
public
|
microsecondsInDecade(): int
|
# |
public
|
microsecondsInHour(): int
|
# |
public
|
microsecondsInMillennium(): int
|
# |
public
|
microsecondsInMillisecond(): int
|
# |
public
|
microsecondsInMinute(): int
|
# |
public
|
microsecondsInMonth(): int
|
# |
public
|
microsecondsInQuarter(): int
|
# |
public
|
microsecondsInSecond(): int
|
# |
public
|
microsecondsInWeek(): int
|
# |
public
|
microsecondsInYear(): int
|
# |
public
|
millisecondOfCentury(?int $millisecond = null): int|static
|
# |
public
|
millisecondOfDay(?int $millisecond = null): int|static
|
# |
public
|
millisecondOfDecade(?int $millisecond = null): int|static
|
# |
public
|
millisecondOfHour(?int $millisecond = null): int|static
|
# |
public
|
millisecondOfMillennium(?int $millisecond = null): int|static
|
# |
public
|
millisecondOfMinute(?int $millisecond = null): int|static
|
# |
public
|
millisecondOfMonth(?int $millisecond = null): int|static
|
# |
public
|
millisecondOfQuarter(?int $millisecond = null): int|static
|
# |
public
|
millisecondOfSecond(?int $millisecond = null): int|static
|
# |
public
|
millisecondOfWeek(?int $millisecond = null): int|static
|
# |
public
|
millisecondOfYear(?int $millisecond = null): int|static
|
# |
public
|
millisecondsInCentury(): int
|
# |
public
|
millisecondsInDay(): int
|
# |
public
|
millisecondsInDecade(): int
|
# |
public
|
millisecondsInHour(): int
|
# |
public
|
millisecondsInMillennium(): int
|
# |
public
|
millisecondsInMinute(): int
|
# |
public
|
millisecondsInMonth(): int
|
# |
public
|
millisecondsInQuarter(): int
|
# |
public
|
millisecondsInSecond(): int
|
# |
public
|
millisecondsInWeek(): int
|
# |
public
|
millisecondsInYear(): int
|
# |
public
|
minuteOfCentury(?int $minute = null): int|static
|
# |
public
|
minuteOfDay(?int $minute = null): int|static
|
# |
public
|
minuteOfDecade(?int $minute = null): int|static
|
# |
public
|
minuteOfHour(?int $minute = null): int|static
|
# |
public
|
minuteOfMillennium(?int $minute = null): int|static
|
# |
public
|
minuteOfMonth(?int $minute = null): int|static
|
# |
public
|
minuteOfQuarter(?int $minute = null): int|static
|
# |
public
|
minuteOfWeek(?int $minute = null): int|static
|
# |
public
|
minuteOfYear(?int $minute = null): int|static
|
# |
public
|
minutesInCentury(): int
|
# |
public
|
minutesInDay(): int
|
# |
public
|
minutesInDecade(): int
|
# |
public
|
minutesInHour(): int
|
# |
public
|
minutesInMillennium(): int
|
# |
public
|
minutesInMonth(): int
|
# |
public
|
minutesInQuarter(): int
|
# |
public
|
minutesInWeek(): int
|
# |
public
|
minutesInYear(): int
|
# |
public
|
monthOfCentury(?int $month = null): int|static
|
# |
public
|
monthOfDecade(?int $month = null): int|static
|
# |
public
|
monthOfMillennium(?int $month = null): int|static
|
# |
public
|
monthOfQuarter(?int $month = null): int|static
|
# |
public
|
monthOfYear(?int $month = null): int|static
|
# |
public
|
monthsInCentury(): int
|
# |
public
|
monthsInDecade(): int
|
# |
public
|
monthsInMillennium(): int
|
# |
public
|
monthsInQuarter(): int
|
# |
public
|
monthsInYear(): int
|
# |
public
|
quarterOfCentury(?int $quarter = null): int|static
|
# |
public
|
quarterOfDecade(?int $quarter = null): int|static
|
# |
public
|
quarterOfMillennium(?int $quarter = null): int|static
|
# |
public
|
quarterOfYear(?int $quarter = null): int|static
|
# |
public
|
quartersInCentury(): int
|
# |
public
|
quartersInDecade(): int
|
# |
public
|
quartersInMillennium(): int
|
# |
public
|
quartersInYear(): int
|
# |
public
|
secondOfCentury(?int $second = null): int|static
|
# |
public
|
secondOfDay(?int $second = null): int|static
|
# |
public
|
secondOfDecade(?int $second = null): int|static
|
# |
public
|
secondOfHour(?int $second = null): int|static
|
# |
public
|
secondOfMillennium(?int $second = null): int|static
|
# |
public
|
secondOfMinute(?int $second = null): int|static
|
# |
public
|
secondOfMonth(?int $second = null): int|static
|
# |
public
|
secondOfQuarter(?int $second = null): int|static
|
# |
public
|
secondOfWeek(?int $second = null): int|static
|
# |
public
|
secondOfYear(?int $second = null): int|static
|
# |
public
|
secondsInCentury(): int
|
# |
public
|
secondsInDay(): int
|
# |
public
|
secondsInDecade(): int
|
# |
public
|
secondsInHour(): int
|
# |
public
|
secondsInMillennium(): int
|
# |
public
|
secondsInMinute(): int
|
# |
public
|
secondsInMonth(): int
|
# |
public
|
secondsInQuarter(): int
|
# |
public
|
secondsInWeek(): int
|
# |
public
|
secondsInYear(): int
|
# |
public
|
weekOfCentury(?int $week = null): int|static
|
# |
public
|
weekOfDecade(?int $week = null): int|static
|
# |
public
|
weekOfMillennium(?int $week = null): int|static
|
# |
public
|
weekOfMonth(?int $week = null): int|static
|
# |
public
|
weekOfQuarter(?int $week = null): int|static
|
# |
public
|
weekOfYear(?int $week = null): int|static
|
# |
public
|
weeksInCentury(): int
|
# |
public
|
weeksInDecade(): int
|
# |
public
|
weeksInMillennium(): int
|
# |
public
|
weeksInMonth(): int
|
# |
public
|
weeksInQuarter(): int
|
# |
public
|
yearOfCentury(?int $year = null): int|static
|
# |
public
|
yearOfDecade(?int $year = null): int|static
|
# |
public
|
yearOfMillennium(?int $year = null): int|static
|
# |
public
|
yearsInCentury(): int
|
# |
public
|
yearsInDecade(): int
|
# |
public
|
yearsInMillennium(): int
|
# |
Properties | |||
---|---|---|---|
protected
static
|
array
|
$days = [
CarbonInterface::SUNDAY => 'Sunday',
CarbonInterface::MONDAY => 'Monday',
CarbonInterface::TUESDAY => 'Tuesday',
CarbonInterface::WEDNESDAY => 'Wednesday',
CarbonInterface::THURSDAY => 'Thursday',
CarbonInterface::FRIDAY => 'Friday',
CarbonInterface::SATURDAY => 'Saturday',
]
|
# |
protected
static
|
array
|
$units = ['year', 'month', 'day', 'hour', 'minute', 'second', 'milli', 'millisecond', 'micro', 'microsecond']
|
# |
public
|
string
|
$localeDayOfWeek
|
# |
public
|
string
|
$shortLocaleDayOfWeek
|
# |
public
|
string
|
$localeMonth
|
# |
public
|
string
|
$shortLocaleMonth
|
# |
public
|
int
|
$year
|
# |
public
|
int
|
$yearIso
|
# |
public
|
int
|
$month
|
# |
public
|
int
|
$day
|
# |
public
|
int
|
$hour
|
# |
public
|
int
|
$minute
|
# |
public
|
int
|
$second
|
# |
public
|
int
|
$micro
|
# |
public
|
int
|
$microsecond
|
# |
public
|
int
|
$dayOfWeekIso
|
# |
public
|
int|float|string
|
$timestamp
|
# |
public
|
string
|
$englishDayOfWeek
|
# |
public
|
string
|
$shortEnglishDayOfWeek
|
# |
public
|
string
|
$englishMonth
|
# |
public
|
string
|
$shortEnglishMonth
|
# |
public
|
int
|
$milliseconds
|
# |
public
|
int
|
$millisecond
|
# |
public
|
int
|
$milli
|
# |
public
|
int
|
$week
|
# |
public
|
int
|
$isoWeek
|
# |
public
|
int
|
$weekYear
|
# |
public
|
int
|
$isoWeekYear
|
# |
public
|
int
|
$age
|
# |
public
|
int
|
$offset
|
# |
public
|
int
|
$offsetMinutes
|
# |
public
|
int
|
$offsetHours
|
# |
public
|
CarbonTimeZone
|
$timezone
|
# |
public
|
CarbonTimeZone
|
$tz
|
# |
public
|
int
|
$centuryOfMillennium
|
# |
public
|
int
|
$dayOfCentury
|
# |
public
|
int
|
$dayOfDecade
|
# |
public
|
int
|
$dayOfMillennium
|
# |
public
|
int
|
$dayOfMonth
|
# |
public
|
int
|
$dayOfQuarter
|
# |
public
|
int
|
$dayOfWeek
|
# |
public
|
int
|
$dayOfYear
|
# |
public
|
int
|
$decadeOfCentury
|
# |
public
|
int
|
$decadeOfMillennium
|
# |
public
|
int
|
$hourOfCentury
|
# |
public
|
int
|
$hourOfDay
|
# |
public
|
int
|
$hourOfDecade
|
# |
public
|
int
|
$hourOfMillennium
|
# |
public
|
int
|
$hourOfMonth
|
# |
public
|
int
|
$hourOfQuarter
|
# |
public
|
int
|
$hourOfWeek
|
# |
public
|
int
|
$hourOfYear
|
# |
public
|
int
|
$microsecondOfCentury
|
# |
public
|
int
|
$microsecondOfDay
|
# |
public
|
int
|
$microsecondOfDecade
|
# |
public
|
int
|
$microsecondOfHour
|
# |
public
|
int
|
$microsecondOfMillennium
|
# |
public
|
int
|
$microsecondOfMillisecond
|
# |
public
|
int
|
$microsecondOfMinute
|
# |
public
|
int
|
$microsecondOfMonth
|
# |
public
|
int
|
$microsecondOfQuarter
|
# |
public
|
int
|
$microsecondOfSecond
|
# |
public
|
int
|
$microsecondOfWeek
|
# |
public
|
int
|
$microsecondOfYear
|
# |
public
|
int
|
$millisecondOfCentury
|
# |
public
|
int
|
$millisecondOfDay
|
# |
public
|
int
|
$millisecondOfDecade
|
# |
public
|
int
|
$millisecondOfHour
|
# |
public
|
int
|
$millisecondOfMillennium
|
# |
public
|
int
|
$millisecondOfMinute
|
# |
public
|
int
|
$millisecondOfMonth
|
# |
public
|
int
|
$millisecondOfQuarter
|
# |
public
|
int
|
$millisecondOfSecond
|
# |
public
|
int
|
$millisecondOfWeek
|
# |
public
|
int
|
$millisecondOfYear
|
# |
public
|
int
|
$minuteOfCentury
|
# |
public
|
int
|
$minuteOfDay
|
# |
public
|
int
|
$minuteOfDecade
|
# |
public
|
int
|
$minuteOfHour
|
# |
public
|
int
|
$minuteOfMillennium
|
# |
public
|
int
|
$minuteOfMonth
|
# |
public
|
int
|
$minuteOfQuarter
|
# |
public
|
int
|
$minuteOfWeek
|
# |
public
|
int
|
$minuteOfYear
|
# |
public
|
int
|
$monthOfCentury
|
# |
public
|
int
|
$monthOfDecade
|
# |
public
|
int
|
$monthOfMillennium
|
# |
public
|
int
|
$monthOfQuarter
|
# |
public
|
int
|
$monthOfYear
|
# |
public
|
int
|
$quarterOfCentury
|
# |
public
|
int
|
$quarterOfDecade
|
# |
public
|
int
|
$quarterOfMillennium
|
# |
public
|
int
|
$quarterOfYear
|
# |
public
|
int
|
$secondOfCentury
|
# |
public
|
int
|
$secondOfDay
|
# |
public
|
int
|
$secondOfDecade
|
# |
public
|
int
|
$secondOfHour
|
# |
public
|
int
|
$secondOfMillennium
|
# |
public
|
int
|
$secondOfMinute
|
# |
public
|
int
|
$secondOfMonth
|
# |
public
|
int
|
$secondOfQuarter
|
# |
public
|
int
|
$secondOfWeek
|
# |
public
|
int
|
$secondOfYear
|
# |
public
|
int
|
$weekOfCentury
|
# |
public
|
int
|
$weekOfDecade
|
# |
public
|
int
|
$weekOfMillennium
|
# |
public
|
int
|
$weekOfMonth
|
# |
public
|
int
|
$weekOfQuarter
|
# |
public
|
int
|
$weekOfYear
|
# |
public
|
int
|
$yearOfCentury
|
# |
public
|
int
|
$yearOfDecade
|
# |
public
|
int
|
$yearOfMillennium
|
# |
public
readonly
|
string
|
$latinMeridiem
|
# |
public
readonly
|
string
|
$latinUpperMeridiem
|
# |
public
readonly
|
string
|
$timezoneAbbreviatedName
|
# |
public
readonly
|
string
|
$tzAbbrName
|
# |
public
readonly
|
string
|
$dayName
|
# |
public
readonly
|
string
|
$shortDayName
|
# |
public
readonly
|
string
|
$minDayName
|
# |
public
readonly
|
string
|
$monthName
|
# |
public
readonly
|
string
|
$shortMonthName
|
# |
public
readonly
|
string
|
$meridiem
|
# |
public
readonly
|
string
|
$upperMeridiem
|
# |
public
readonly
|
int
|
$noZeroHour
|
# |
public
readonly
|
int
|
$isoWeeksInYear
|
# |
public
readonly
|
int
|
$weekNumberInMonth
|
# |
public
readonly
|
int
|
$firstWeekDay
|
# |
public
readonly
|
int
|
$lastWeekDay
|
# |
public
readonly
|
int
|
$quarter
|
# |
public
readonly
|
int
|
$decade
|
# |
public
readonly
|
int
|
$century
|
# |
public
readonly
|
int
|
$millennium
|
# |
public
readonly
|
bool
|
$dst
|
# |
public
readonly
|
bool
|
$local
|
# |
public
readonly
|
bool
|
$utc
|
# |
public
readonly
|
string
|
$timezoneName
|
# |
public
readonly
|
string
|
$tzName
|
# |
public
readonly
|
string
|
$locale
|
# |
public
readonly
|
int
|
$centuriesInMillennium
|
# |
public
readonly
|
int
|
$daysInCentury
|
# |
public
readonly
|
int
|
$daysInDecade
|
# |
public
readonly
|
int
|
$daysInMillennium
|
# |
public
readonly
|
int
|
$daysInMonth
|
# |
public
readonly
|
int
|
$daysInQuarter
|
# |
public
readonly
|
int
|
$daysInWeek
|
# |
public
readonly
|
int
|
$daysInYear
|
# |
public
readonly
|
int
|
$decadesInCentury
|
# |
public
readonly
|
int
|
$decadesInMillennium
|
# |
public
readonly
|
int
|
$hoursInCentury
|
# |
public
readonly
|
int
|
$hoursInDay
|
# |
public
readonly
|
int
|
$hoursInDecade
|
# |
public
readonly
|
int
|
$hoursInMillennium
|
# |
public
readonly
|
int
|
$hoursInMonth
|
# |
public
readonly
|
int
|
$hoursInQuarter
|
# |
public
readonly
|
int
|
$hoursInWeek
|
# |
public
readonly
|
int
|
$hoursInYear
|
# |
public
readonly
|
int
|
$microsecondsInCentury
|
# |
public
readonly
|
int
|
$microsecondsInDay
|
# |
public
readonly
|
int
|
$microsecondsInDecade
|
# |
public
readonly
|
int
|
$microsecondsInHour
|
# |
public
readonly
|
int
|
$microsecondsInMillennium
|
# |
public
readonly
|
int
|
$microsecondsInMillisecond
|
# |
public
readonly
|
int
|
$microsecondsInMinute
|
# |
public
readonly
|
int
|
$microsecondsInMonth
|
# |
public
readonly
|
int
|
$microsecondsInQuarter
|
# |
public
readonly
|
int
|
$microsecondsInSecond
|
# |
public
readonly
|
int
|
$microsecondsInWeek
|
# |
public
readonly
|
int
|
$microsecondsInYear
|
# |
public
readonly
|
int
|
$millisecondsInCentury
|
# |
public
readonly
|
int
|
$millisecondsInDay
|
# |
public
readonly
|
int
|
$millisecondsInDecade
|
# |
public
readonly
|
int
|
$millisecondsInHour
|
# |
public
readonly
|
int
|
$millisecondsInMillennium
|
# |
public
readonly
|
int
|
$millisecondsInMinute
|
# |
public
readonly
|
int
|
$millisecondsInMonth
|
# |
public
readonly
|
int
|
$millisecondsInQuarter
|
# |
public
readonly
|
int
|
$millisecondsInSecond
|
# |
public
readonly
|
int
|
$millisecondsInWeek
|
# |
public
readonly
|
int
|
$millisecondsInYear
|
# |
public
readonly
|
int
|
$minutesInCentury
|
# |
public
readonly
|
int
|
$minutesInDay
|
# |
public
readonly
|
int
|
$minutesInDecade
|
# |
public
readonly
|
int
|
$minutesInHour
|
# |
public
readonly
|
int
|
$minutesInMillennium
|
# |
public
readonly
|
int
|
$minutesInMonth
|
# |
public
readonly
|
int
|
$minutesInQuarter
|
# |
public
readonly
|
int
|
$minutesInWeek
|
# |
public
readonly
|
int
|
$minutesInYear
|
# |
public
readonly
|
int
|
$monthsInCentury
|
# |
public
readonly
|
int
|
$monthsInDecade
|
# |
public
readonly
|
int
|
$monthsInMillennium
|
# |
public
readonly
|
int
|
$monthsInQuarter
|
# |
public
readonly
|
int
|
$monthsInYear
|
# |
public
readonly
|
int
|
$quartersInCentury
|
# |
public
readonly
|
int
|
$quartersInDecade
|
# |
public
readonly
|
int
|
$quartersInMillennium
|
# |
public
readonly
|
int
|
$quartersInYear
|
# |
public
readonly
|
int
|
$secondsInCentury
|
# |
public
readonly
|
int
|
$secondsInDay
|
# |
public
readonly
|
int
|
$secondsInDecade
|
# |
public
readonly
|
int
|
$secondsInHour
|
# |
public
readonly
|
int
|
$secondsInMillennium
|
# |
public
readonly
|
int
|
$secondsInMinute
|
# |
public
readonly
|
int
|
$secondsInMonth
|
# |
public
readonly
|
int
|
$secondsInQuarter
|
# |
public
readonly
|
int
|
$secondsInWeek
|
# |
public
readonly
|
int
|
$secondsInYear
|
# |
public
readonly
|
int
|
$weeksInCentury
|
# |
public
readonly
|
int
|
$weeksInDecade
|
# |
public
readonly
|
int
|
$weeksInMillennium
|
# |
public
readonly
|
int
|
$weeksInMonth
|
# |
public
readonly
|
int
|
$weeksInQuarter
|
# |
public
readonly
|
int
|
$weeksInYear
|
# |
public
readonly
|
int
|
$yearsInCentury
|
# |
public
readonly
|
int
|
$yearsInDecade
|
# |
public
readonly
|
int
|
$yearsInMillennium
|
# |