Methods |
public
|
__clone()
Update constructedObjectId on cloned.
Update constructedObjectId on cloned.
Implements
|
#
|
public
static
|
startOfTime(): static
Create a very old date representing start of time.
Create a very old date representing start of time.
|
#
|
public
static
|
endOfTime(): static
Create a very far date representing end of time.
Create a very far date representing end of time.
|
#
|
public
|
isUtc(): bool
Check if the current instance has UTC timezone. (Both isUtc and isUTC cases are valid.)
Check if the current instance has UTC timezone. (Both isUtc and isUTC cases are valid.)
Implements
|
#
|
public
|
isLocal(): bool
Check if the current instance has non-UTC timezone.
Check if the current instance has non-UTC timezone.
Implements
|
#
|
public
|
isValid(): bool
Check if the current instance is a valid date.
Check if the current instance is a valid date.
Implements
|
#
|
public
|
isDST(): bool
Check if the current instance is in a daylight saving time.
Check if the current instance is in a daylight saving time.
Implements
|
#
|
public
|
isSunday(): bool
Checks if the instance day is sunday.
Checks if the instance day is sunday.
Implements
|
#
|
public
|
isMonday(): bool
Checks if the instance day is monday.
Checks if the instance day is monday.
Implements
|
#
|
public
|
isTuesday(): bool
Checks if the instance day is tuesday.
Checks if the instance day is tuesday.
Implements
|
#
|
public
|
isWednesday(): bool
Checks if the instance day is wednesday.
Checks if the instance day is wednesday.
Implements
|
#
|
public
|
isThursday(): bool
Checks if the instance day is thursday.
Checks if the instance day is thursday.
Implements
|
#
|
public
|
isFriday(): bool
Checks if the instance day is friday.
Checks if the instance day is friday.
Implements
|
#
|
public
|
isSaturday(): bool
Checks if the instance day is saturday.
Checks if the instance day is saturday.
Implements
|
#
|
public
|
isSameYear(Carbon|DateTimeInterface|string|null $date = null): bool
Checks if the given date is in the same year as the instance. If null passed, compare to now (with the same timezone).
Checks if the given date is in the same year as the instance. If null passed, compare to now (with the same timezone).
Implements
|
#
|
public
|
isCurrentYear(): bool
Checks if the instance is in the same year as the current moment.
Checks if the instance is in the same year as the current moment.
Implements
|
#
|
public
|
isNextYear(): bool
Checks if the instance is in the same year as the current moment next year.
Checks if the instance is in the same year as the current moment next year.
Implements
|
#
|
public
|
isLastYear(): bool
Checks if the instance is in the same year as the current moment last year.
Checks if the instance is in the same year as the current moment last year.
Implements
|
#
|
public
|
isSameWeek(Carbon|DateTimeInterface|string|null $date = null): bool
Checks if the given date is in the same week as the instance. If null passed, compare to now (with the same timezone).
Checks if the given date is in the same week as the instance. If null passed, compare to now (with the same timezone).
Implements
|
#
|
public
|
isCurrentWeek(): bool
Checks if the instance is in the same week as the current moment.
Checks if the instance is in the same week as the current moment.
Implements
|
#
|
public
|
isNextWeek(): bool
Checks if the instance is in the same week as the current moment next week.
Checks if the instance is in the same week as the current moment next week.
Implements
|
#
|
public
|
isLastWeek(): bool
Checks if the instance is in the same week as the current moment last week.
Checks if the instance is in the same week as the current moment last week.
Implements
|
#
|
public
|
isSameDay(Carbon|DateTimeInterface|string|null $date = null): bool
Checks if the given date is in the same day as the instance. If null passed, compare to now (with the same timezone).
Checks if the given date is in the same day as the instance. If null passed, compare to now (with the same timezone).
Implements
|
#
|
public
|
isCurrentDay(): bool
Checks if the instance is in the same day as the current moment.
Checks if the instance is in the same day as the current moment.
Implements
|
#
|
public
|
isNextDay(): bool
Checks if the instance is in the same day as the current moment next day.
Checks if the instance is in the same day as the current moment next day.
Implements
|
#
|
public
|
isLastDay(): bool
Checks if the instance is in the same day as the current moment last day.
Checks if the instance is in the same day as the current moment last day.
Implements
|
#
|
public
|
isSameHour(Carbon|DateTimeInterface|string|null $date = null): bool
Checks if the given date is in the same hour as the instance. If null passed, compare to now (with the same timezone).
Checks if the given date is in the same hour as the instance. If null passed, compare to now (with the same timezone).
Implements
|
#
|
public
|
isCurrentHour(): bool
Checks if the instance is in the same hour as the current moment.
Checks if the instance is in the same hour as the current moment.
Implements
|
#
|
public
|
isNextHour(): bool
Checks if the instance is in the same hour as the current moment next hour.
Checks if the instance is in the same hour as the current moment next hour.
Implements
|
#
|
public
|
isLastHour(): bool
Checks if the instance is in the same hour as the current moment last hour.
Checks if the instance is in the same hour as the current moment last hour.
Implements
|
#
|
public
|
isSameMinute(Carbon|DateTimeInterface|string|null $date = null): bool
Checks if the given date is in the same minute as the instance. If null passed, compare to now (with the same timezone).
Checks if the given date is in the same minute as the instance. If null passed, compare to now (with the same timezone).
Implements
|
#
|
public
|
isCurrentMinute(): bool
Checks if the instance is in the same minute as the current moment.
Checks if the instance is in the same minute as the current moment.
Implements
|
#
|
public
|
isNextMinute(): bool
Checks if the instance is in the same minute as the current moment next minute.
Checks if the instance is in the same minute as the current moment next minute.
Implements
|
#
|
public
|
isLastMinute(): bool
Checks if the instance is in the same minute as the current moment last minute.
Checks if the instance is in the same minute as the current moment last minute.
Implements
|
#
|
public
|
isSameSecond(Carbon|DateTimeInterface|string|null $date = null): bool
Checks if the given date is in the same second as the instance. If null passed, compare to now (with the same timezone).
Checks if the given date is in the same second as the instance. If null passed, compare to now (with the same timezone).
Implements
|
#
|
public
|
isCurrentSecond(): bool
Checks if the instance is in the same second as the current moment.
Checks if the instance is in the same second as the current moment.
Implements
|
#
|
public
|
isNextSecond(): bool
Checks if the instance is in the same second as the current moment next second.
Checks if the instance is in the same second as the current moment next second.
Implements
|
#
|
public
|
isLastSecond(): bool
Checks if the instance is in the same second as the current moment last second.
Checks if the instance is in the same second as the current moment last second.
Implements
|
#
|
public
|
isSameMicro(Carbon|DateTimeInterface|string|null $date = null): bool
Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same…
Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
Implements
|
#
|
public
|
isCurrentMicro(): bool
Checks if the instance is in the same microsecond as the current moment.
Checks if the instance is in the same microsecond as the current moment.
Implements
|
#
|
public
|
isNextMicro(): bool
Checks if the instance is in the same microsecond as the current moment next microsecond.
Checks if the instance is in the same microsecond as the current moment next microsecond.
Implements
|
#
|
public
|
isLastMicro(): bool
Checks if the instance is in the same microsecond as the current moment last microsecond.
Checks if the instance is in the same microsecond as the current moment last microsecond.
Implements
|
#
|
public
|
isSameMicrosecond(Carbon|DateTimeInterface|string|null $date = null): bool
Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same…
Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
Implements
|
#
|
public
|
isCurrentMicrosecond(): bool
Checks if the instance is in the same microsecond as the current moment.
Checks if the instance is in the same microsecond as the current moment.
Implements
|
#
|
public
|
isNextMicrosecond(): bool
Checks if the instance is in the same microsecond as the current moment next microsecond.
Checks if the instance is in the same microsecond as the current moment next microsecond.
Implements
|
#
|
public
|
isLastMicrosecond(): bool
Checks if the instance is in the same microsecond as the current moment last microsecond.
Checks if the instance is in the same microsecond as the current moment last microsecond.
Implements
|
#
|
public
|
isCurrentMonth(): bool
Checks if the instance is in the same month as the current moment.
Checks if the instance is in the same month as the current moment.
Implements
|
#
|
public
|
isNextMonth(): bool
Checks if the instance is in the same month as the current moment next month.
Checks if the instance is in the same month as the current moment next month.
Implements
|
#
|
public
|
isLastMonth(): bool
Checks if the instance is in the same month as the current moment last month.
Checks if the instance is in the same month as the current moment last month.
Implements
|
#
|
public
|
isCurrentQuarter(): bool
Checks if the instance is in the same quarter as the current moment.
Checks if the instance is in the same quarter as the current moment.
Implements
|
#
|
public
|
isNextQuarter(): bool
Checks if the instance is in the same quarter as the current moment next quarter.
Checks if the instance is in the same quarter as the current moment next quarter.
Implements
|
#
|
public
|
isLastQuarter(): bool
Checks if the instance is in the same quarter as the current moment last quarter.
Checks if the instance is in the same quarter as the current moment last quarter.
Implements
|
#
|
public
|
isSameDecade(Carbon|DateTimeInterface|string|null $date = null): bool
Checks if the given date is in the same decade as the instance. If null passed, compare to now (with the same timezone).
Checks if the given date is in the same decade as the instance. If null passed, compare to now (with the same timezone).
Implements
|
#
|
public
|
isCurrentDecade(): bool
Checks if the instance is in the same decade as the current moment.
Checks if the instance is in the same decade as the current moment.
Implements
|
#
|
public
|
isNextDecade(): bool
Checks if the instance is in the same decade as the current moment next decade.
Checks if the instance is in the same decade as the current moment next decade.
Implements
|
#
|
public
|
isLastDecade(): bool
Checks if the instance is in the same decade as the current moment last decade.
Checks if the instance is in the same decade as the current moment last decade.
Implements
|
#
|
public
|
isSameCentury(Carbon|DateTimeInterface|string|null $date = null): bool
Checks if the given date is in the same century as the instance. If null passed, compare to now (with the same timezone…
Checks if the given date is in the same century as the instance. If null passed, compare to now (with the same timezone).
Implements
|
#
|
public
|
isCurrentCentury(): bool
Checks if the instance is in the same century as the current moment.
Checks if the instance is in the same century as the current moment.
Implements
|
#
|
public
|
isNextCentury(): bool
Checks if the instance is in the same century as the current moment next century.
Checks if the instance is in the same century as the current moment next century.
Implements
|
#
|
public
|
isLastCentury(): bool
Checks if the instance is in the same century as the current moment last century.
Checks if the instance is in the same century as the current moment last century.
Implements
|
#
|
public
|
isSameMillennium(Carbon|DateTimeInterface|string|null $date = null): bool
Checks if the given date is in the same millennium as the instance. If null passed, compare to now (with the same…
Checks if the given date is in the same millennium as the instance. If null passed, compare to now (with the same timezone).
Implements
|
#
|
public
|
isCurrentMillennium(): bool
Checks if the instance is in the same millennium as the current moment.
Checks if the instance is in the same millennium as the current moment.
Implements
|
#
|
public
|
isNextMillennium(): bool
Checks if the instance is in the same millennium as the current moment next millennium.
Checks if the instance is in the same millennium as the current moment next millennium.
Implements
|
#
|
public
|
isLastMillennium(): bool
Checks if the instance is in the same millennium as the current moment last millennium.
Checks if the instance is in the same millennium as the current moment last millennium.
Implements
|
#
|
public
|
years(int $value): CarbonImmutable
Set current instance year to the given value.
Set current instance year to the given value.
Implements
|
#
|
public
|
year(int $value): CarbonImmutable
Set current instance year to the given value.
Set current instance year to the given value.
Implements
|
#
|
public
|
setYears(int $value): CarbonImmutable
Set current instance year to the given value.
Set current instance year to the given value.
Implements
|
#
|
public
|
setYear(int $value): CarbonImmutable
Set current instance year to the given value.
Set current instance year to the given value.
Implements
|
#
|
public
|
months(int $value): CarbonImmutable
Set current instance month to the given value.
Set current instance month to the given value.
Implements
|
#
|
public
|
month(int $value): CarbonImmutable
Set current instance month to the given value.
Set current instance month to the given value.
Implements
|
#
|
public
|
setMonths(int $value): CarbonImmutable
Set current instance month to the given value.
Set current instance month to the given value.
Implements
|
#
|
public
|
setMonth(int $value): CarbonImmutable
Set current instance month to the given value.
Set current instance month to the given value.
Implements
|
#
|
public
|
days(int $value): CarbonImmutable
Set current instance day to the given value.
Set current instance day to the given value.
Implements
|
#
|
public
|
day(int $value): CarbonImmutable
Set current instance day to the given value.
Set current instance day to the given value.
Implements
|
#
|
public
|
setDays(int $value): CarbonImmutable
Set current instance day to the given value.
Set current instance day to the given value.
Implements
|
#
|
public
|
setDay(int $value): CarbonImmutable
Set current instance day to the given value.
Set current instance day to the given value.
Implements
|
#
|
public
|
hours(int $value): CarbonImmutable
Set current instance hour to the given value.
Set current instance hour to the given value.
Implements
|
#
|
public
|
hour(int $value): CarbonImmutable
Set current instance hour to the given value.
Set current instance hour to the given value.
Implements
|
#
|
public
|
setHours(int $value): CarbonImmutable
Set current instance hour to the given value.
Set current instance hour to the given value.
Implements
|
#
|
public
|
setHour(int $value): CarbonImmutable
Set current instance hour to the given value.
Set current instance hour to the given value.
Implements
|
#
|
public
|
minutes(int $value): CarbonImmutable
Set current instance minute to the given value.
Set current instance minute to the given value.
Implements
|
#
|
public
|
minute(int $value): CarbonImmutable
Set current instance minute to the given value.
Set current instance minute to the given value.
Implements
|
#
|
public
|
setMinutes(int $value): CarbonImmutable
Set current instance minute to the given value.
Set current instance minute to the given value.
Implements
|
#
|
public
|
setMinute(int $value): CarbonImmutable
Set current instance minute to the given value.
Set current instance minute to the given value.
Implements
|
#
|
public
|
seconds(int $value): CarbonImmutable
Set current instance second to the given value.
Set current instance second to the given value.
Implements
|
#
|
public
|
second(int $value): CarbonImmutable
Set current instance second to the given value.
Set current instance second to the given value.
Implements
|
#
|
public
|
setSeconds(int $value): CarbonImmutable
Set current instance second to the given value.
Set current instance second to the given value.
Implements
|
#
|
public
|
setSecond(int $value): CarbonImmutable
Set current instance second to the given value.
Set current instance second to the given value.
Implements
|
#
|
public
|
millis(int $value): CarbonImmutable
Set current instance millisecond to the given value.
Set current instance millisecond to the given value.
Implements
|
#
|
public
|
milli(int $value): CarbonImmutable
Set current instance millisecond to the given value.
Set current instance millisecond to the given value.
Implements
|
#
|
public
|
setMillis(int $value): CarbonImmutable
Set current instance millisecond to the given value.
Set current instance millisecond to the given value.
Implements
|
#
|
public
|
setMilli(int $value): CarbonImmutable
Set current instance millisecond to the given value.
Set current instance millisecond to the given value.
Implements
|
#
|
public
|
milliseconds(int $value): CarbonImmutable
Set current instance millisecond to the given value.
Set current instance millisecond to the given value.
Implements
|
#
|
public
|
millisecond(int $value): CarbonImmutable
Set current instance millisecond to the given value.
Set current instance millisecond to the given value.
Implements
|
#
|
public
|
setMilliseconds(int $value): CarbonImmutable
Set current instance millisecond to the given value.
Set current instance millisecond to the given value.
Implements
|
#
|
public
|
setMillisecond(int $value): CarbonImmutable
Set current instance millisecond to the given value.
Set current instance millisecond to the given value.
Implements
|
#
|
public
|
micros(int $value): CarbonImmutable
Set current instance microsecond to the given value.
Set current instance microsecond to the given value.
Implements
|
#
|
public
|
micro(int $value): CarbonImmutable
Set current instance microsecond to the given value.
Set current instance microsecond to the given value.
Implements
|
#
|
public
|
setMicros(int $value): CarbonImmutable
Set current instance microsecond to the given value.
Set current instance microsecond to the given value.
Implements
|
#
|
public
|
setMicro(int $value): CarbonImmutable
Set current instance microsecond to the given value.
Set current instance microsecond to the given value.
Implements
|
#
|
public
|
microseconds(int $value): CarbonImmutable
Set current instance microsecond to the given value.
Set current instance microsecond to the given value.
Implements
|
#
|
public
|
microsecond(int $value): CarbonImmutable
Set current instance microsecond to the given value.
Set current instance microsecond to the given value.
Implements
|
#
|
public
|
setMicroseconds(int $value): CarbonImmutable
Set current instance microsecond to the given value.
Set current instance microsecond to the given value.
Implements
|
#
|
public
|
setMicrosecond(int $value): CarbonImmutable
Set current instance microsecond to the given value.
Set current instance microsecond to the given value.
Implements
|
#
|
public
|
addYears(int $value = 1): CarbonImmutable
Add years (the $value count passed in) to the instance (using date interval).
Add years (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
addYear(): CarbonImmutable
Add one year to the instance (using date interval).
Add one year to the instance (using date interval).
Implements
|
#
|
public
|
subYears(int $value = 1): CarbonImmutable
Sub years (the $value count passed in) to the instance (using date interval).
Sub years (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
subYear(): CarbonImmutable
Sub one year to the instance (using date interval).
Sub one year to the instance (using date interval).
Implements
|
#
|
public
|
addYearsWithOverflow(int $value = 1): CarbonImmutable
Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
addYearWithOverflow(): CarbonImmutable
Add one year to the instance (using date interval) with overflow explicitly allowed.
Add one year to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
subYearsWithOverflow(int $value = 1): CarbonImmutable
Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
subYearWithOverflow(): CarbonImmutable
Sub one year to the instance (using date interval) with overflow explicitly allowed.
Sub one year to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
addYearsWithoutOverflow(int $value = 1): CarbonImmutable
Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addYearWithoutOverflow(): CarbonImmutable
Add one year to the instance (using date interval) with overflow explicitly forbidden.
Add one year to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subYearsWithoutOverflow(int $value = 1): CarbonImmutable
Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subYearWithoutOverflow(): CarbonImmutable
Sub one year to the instance (using date interval) with overflow explicitly forbidden.
Sub one year to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addYearsWithNoOverflow(int $value = 1): CarbonImmutable
Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addYearWithNoOverflow(): CarbonImmutable
Add one year to the instance (using date interval) with overflow explicitly forbidden.
Add one year to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subYearsWithNoOverflow(int $value = 1): CarbonImmutable
Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subYearWithNoOverflow(): CarbonImmutable
Sub one year to the instance (using date interval) with overflow explicitly forbidden.
Sub one year to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addYearsNoOverflow(int $value = 1): CarbonImmutable
Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addYearNoOverflow(): CarbonImmutable
Add one year to the instance (using date interval) with overflow explicitly forbidden.
Add one year to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subYearsNoOverflow(int $value = 1): CarbonImmutable
Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subYearNoOverflow(): CarbonImmutable
Sub one year to the instance (using date interval) with overflow explicitly forbidden.
Sub one year to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addMonths(int $value = 1): CarbonImmutable
Add months (the $value count passed in) to the instance (using date interval).
Add months (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
addMonth(): CarbonImmutable
Add one month to the instance (using date interval).
Add one month to the instance (using date interval).
Implements
|
#
|
public
|
subMonths(int $value = 1): CarbonImmutable
Sub months (the $value count passed in) to the instance (using date interval).
Sub months (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
subMonth(): CarbonImmutable
Sub one month to the instance (using date interval).
Sub one month to the instance (using date interval).
Implements
|
#
|
public
|
addMonthsWithOverflow(int $value = 1): CarbonImmutable
Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
addMonthWithOverflow(): CarbonImmutable
Add one month to the instance (using date interval) with overflow explicitly allowed.
Add one month to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
subMonthsWithOverflow(int $value = 1): CarbonImmutable
Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
subMonthWithOverflow(): CarbonImmutable
Sub one month to the instance (using date interval) with overflow explicitly allowed.
Sub one month to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
addMonthsWithoutOverflow(int $value = 1): CarbonImmutable
Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addMonthWithoutOverflow(): CarbonImmutable
Add one month to the instance (using date interval) with overflow explicitly forbidden.
Add one month to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subMonthsWithoutOverflow(int $value = 1): CarbonImmutable
Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subMonthWithoutOverflow(): CarbonImmutable
Sub one month to the instance (using date interval) with overflow explicitly forbidden.
Sub one month to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addMonthsWithNoOverflow(int $value = 1): CarbonImmutable
Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addMonthWithNoOverflow(): CarbonImmutable
Add one month to the instance (using date interval) with overflow explicitly forbidden.
Add one month to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subMonthsWithNoOverflow(int $value = 1): CarbonImmutable
Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subMonthWithNoOverflow(): CarbonImmutable
Sub one month to the instance (using date interval) with overflow explicitly forbidden.
Sub one month to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addMonthsNoOverflow(int $value = 1): CarbonImmutable
Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addMonthNoOverflow(): CarbonImmutable
Add one month to the instance (using date interval) with overflow explicitly forbidden.
Add one month to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subMonthsNoOverflow(int $value = 1): CarbonImmutable
Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subMonthNoOverflow(): CarbonImmutable
Sub one month to the instance (using date interval) with overflow explicitly forbidden.
Sub one month to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addDays(int $value = 1): CarbonImmutable
Add days (the $value count passed in) to the instance (using date interval).
Add days (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
addDay(): CarbonImmutable
Add one day to the instance (using date interval).
Add one day to the instance (using date interval).
Implements
|
#
|
public
|
subDays(int $value = 1): CarbonImmutable
Sub days (the $value count passed in) to the instance (using date interval).
Sub days (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
subDay(): CarbonImmutable
Sub one day to the instance (using date interval).
Sub one day to the instance (using date interval).
Implements
|
#
|
public
|
addHours(int $value = 1): CarbonImmutable
Add hours (the $value count passed in) to the instance (using date interval).
Add hours (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
addHour(): CarbonImmutable
Add one hour to the instance (using date interval).
Add one hour to the instance (using date interval).
Implements
|
#
|
public
|
subHours(int $value = 1): CarbonImmutable
Sub hours (the $value count passed in) to the instance (using date interval).
Sub hours (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
subHour(): CarbonImmutable
Sub one hour to the instance (using date interval).
Sub one hour to the instance (using date interval).
Implements
|
#
|
public
|
addMinutes(int $value = 1): CarbonImmutable
Add minutes (the $value count passed in) to the instance (using date interval).
Add minutes (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
addMinute(): CarbonImmutable
Add one minute to the instance (using date interval).
Add one minute to the instance (using date interval).
Implements
|
#
|
public
|
subMinutes(int $value = 1): CarbonImmutable
Sub minutes (the $value count passed in) to the instance (using date interval).
Sub minutes (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
subMinute(): CarbonImmutable
Sub one minute to the instance (using date interval).
Sub one minute to the instance (using date interval).
Implements
|
#
|
public
|
addSeconds(int $value = 1): CarbonImmutable
Add seconds (the $value count passed in) to the instance (using date interval).
Add seconds (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
addSecond(): CarbonImmutable
Add one second to the instance (using date interval).
Add one second to the instance (using date interval).
Implements
|
#
|
public
|
subSeconds(int $value = 1): CarbonImmutable
Sub seconds (the $value count passed in) to the instance (using date interval).
Sub seconds (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
subSecond(): CarbonImmutable
Sub one second to the instance (using date interval).
Sub one second to the instance (using date interval).
Implements
|
#
|
public
|
addMillis(int $value = 1): CarbonImmutable
Add milliseconds (the $value count passed in) to the instance (using date interval).
Add milliseconds (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
addMilli(): CarbonImmutable
Add one millisecond to the instance (using date interval).
Add one millisecond to the instance (using date interval).
Implements
|
#
|
public
|
subMillis(int $value = 1): CarbonImmutable
Sub milliseconds (the $value count passed in) to the instance (using date interval).
Sub milliseconds (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
subMilli(): CarbonImmutable
Sub one millisecond to the instance (using date interval).
Sub one millisecond to the instance (using date interval).
Implements
|
#
|
public
|
addMilliseconds(int $value = 1): CarbonImmutable
Add milliseconds (the $value count passed in) to the instance (using date interval).
Add milliseconds (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
addMillisecond(): CarbonImmutable
Add one millisecond to the instance (using date interval).
Add one millisecond to the instance (using date interval).
Implements
|
#
|
public
|
subMilliseconds(int $value = 1): CarbonImmutable
Sub milliseconds (the $value count passed in) to the instance (using date interval).
Sub milliseconds (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
subMillisecond(): CarbonImmutable
Sub one millisecond to the instance (using date interval).
Sub one millisecond to the instance (using date interval).
Implements
|
#
|
public
|
addMicros(int $value = 1): CarbonImmutable
Add microseconds (the $value count passed in) to the instance (using date interval).
Add microseconds (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
addMicro(): CarbonImmutable
Add one microsecond to the instance (using date interval).
Add one microsecond to the instance (using date interval).
Implements
|
#
|
public
|
subMicros(int $value = 1): CarbonImmutable
Sub microseconds (the $value count passed in) to the instance (using date interval).
Sub microseconds (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
subMicro(): CarbonImmutable
Sub one microsecond to the instance (using date interval).
Sub one microsecond to the instance (using date interval).
Implements
|
#
|
public
|
addMicroseconds(int $value = 1): CarbonImmutable
Add microseconds (the $value count passed in) to the instance (using date interval).
Add microseconds (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
addMicrosecond(): CarbonImmutable
Add one microsecond to the instance (using date interval).
Add one microsecond to the instance (using date interval).
Implements
|
#
|
public
|
subMicroseconds(int $value = 1): CarbonImmutable
Sub microseconds (the $value count passed in) to the instance (using date interval).
Sub microseconds (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
subMicrosecond(): CarbonImmutable
Sub one microsecond to the instance (using date interval).
Sub one microsecond to the instance (using date interval).
Implements
|
#
|
public
|
addMillennia(int $value = 1): CarbonImmutable
Add millennia (the $value count passed in) to the instance (using date interval).
Add millennia (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
addMillennium(): CarbonImmutable
Add one millennium to the instance (using date interval).
Add one millennium to the instance (using date interval).
Implements
|
#
|
public
|
subMillennia(int $value = 1): CarbonImmutable
Sub millennia (the $value count passed in) to the instance (using date interval).
Sub millennia (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
subMillennium(): CarbonImmutable
Sub one millennium to the instance (using date interval).
Sub one millennium to the instance (using date interval).
Implements
|
#
|
public
|
addMillenniaWithOverflow(int $value = 1): CarbonImmutable
Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
addMillenniumWithOverflow(): CarbonImmutable
Add one millennium to the instance (using date interval) with overflow explicitly allowed.
Add one millennium to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
subMillenniaWithOverflow(int $value = 1): CarbonImmutable
Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
subMillenniumWithOverflow(): CarbonImmutable
Sub one millennium to the instance (using date interval) with overflow explicitly allowed.
Sub one millennium to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
addMillenniaWithoutOverflow(int $value = 1): CarbonImmutable
Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addMillenniumWithoutOverflow(): CarbonImmutable
Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subMillenniaWithoutOverflow(int $value = 1): CarbonImmutable
Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subMillenniumWithoutOverflow(): CarbonImmutable
Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addMillenniaWithNoOverflow(int $value = 1): CarbonImmutable
Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addMillenniumWithNoOverflow(): CarbonImmutable
Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subMillenniaWithNoOverflow(int $value = 1): CarbonImmutable
Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subMillenniumWithNoOverflow(): CarbonImmutable
Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addMillenniaNoOverflow(int $value = 1): CarbonImmutable
Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addMillenniumNoOverflow(): CarbonImmutable
Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subMillenniaNoOverflow(int $value = 1): CarbonImmutable
Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subMillenniumNoOverflow(): CarbonImmutable
Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addCenturies(int $value = 1): CarbonImmutable
Add centuries (the $value count passed in) to the instance (using date interval).
Add centuries (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
addCentury(): CarbonImmutable
Add one century to the instance (using date interval).
Add one century to the instance (using date interval).
Implements
|
#
|
public
|
subCenturies(int $value = 1): CarbonImmutable
Sub centuries (the $value count passed in) to the instance (using date interval).
Sub centuries (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
subCentury(): CarbonImmutable
Sub one century to the instance (using date interval).
Sub one century to the instance (using date interval).
Implements
|
#
|
public
|
addCenturiesWithOverflow(int $value = 1): CarbonImmutable
Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
addCenturyWithOverflow(): CarbonImmutable
Add one century to the instance (using date interval) with overflow explicitly allowed.
Add one century to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
subCenturiesWithOverflow(int $value = 1): CarbonImmutable
Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
subCenturyWithOverflow(): CarbonImmutable
Sub one century to the instance (using date interval) with overflow explicitly allowed.
Sub one century to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
addCenturiesWithoutOverflow(int $value = 1): CarbonImmutable
Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addCenturyWithoutOverflow(): CarbonImmutable
Add one century to the instance (using date interval) with overflow explicitly forbidden.
Add one century to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subCenturiesWithoutOverflow(int $value = 1): CarbonImmutable
Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subCenturyWithoutOverflow(): CarbonImmutable
Sub one century to the instance (using date interval) with overflow explicitly forbidden.
Sub one century to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addCenturiesWithNoOverflow(int $value = 1): CarbonImmutable
Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addCenturyWithNoOverflow(): CarbonImmutable
Add one century to the instance (using date interval) with overflow explicitly forbidden.
Add one century to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subCenturiesWithNoOverflow(int $value = 1): CarbonImmutable
Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subCenturyWithNoOverflow(): CarbonImmutable
Sub one century to the instance (using date interval) with overflow explicitly forbidden.
Sub one century to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addCenturiesNoOverflow(int $value = 1): CarbonImmutable
Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addCenturyNoOverflow(): CarbonImmutable
Add one century to the instance (using date interval) with overflow explicitly forbidden.
Add one century to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subCenturiesNoOverflow(int $value = 1): CarbonImmutable
Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subCenturyNoOverflow(): CarbonImmutable
Sub one century to the instance (using date interval) with overflow explicitly forbidden.
Sub one century to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addDecades(int $value = 1): CarbonImmutable
Add decades (the $value count passed in) to the instance (using date interval).
Add decades (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
addDecade(): CarbonImmutable
Add one decade to the instance (using date interval).
Add one decade to the instance (using date interval).
Implements
|
#
|
public
|
subDecades(int $value = 1): CarbonImmutable
Sub decades (the $value count passed in) to the instance (using date interval).
Sub decades (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
subDecade(): CarbonImmutable
Sub one decade to the instance (using date interval).
Sub one decade to the instance (using date interval).
Implements
|
#
|
public
|
addDecadesWithOverflow(int $value = 1): CarbonImmutable
Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
addDecadeWithOverflow(): CarbonImmutable
Add one decade to the instance (using date interval) with overflow explicitly allowed.
Add one decade to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
subDecadesWithOverflow(int $value = 1): CarbonImmutable
Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
subDecadeWithOverflow(): CarbonImmutable
Sub one decade to the instance (using date interval) with overflow explicitly allowed.
Sub one decade to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
addDecadesWithoutOverflow(int $value = 1): CarbonImmutable
Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addDecadeWithoutOverflow(): CarbonImmutable
Add one decade to the instance (using date interval) with overflow explicitly forbidden.
Add one decade to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subDecadesWithoutOverflow(int $value = 1): CarbonImmutable
Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subDecadeWithoutOverflow(): CarbonImmutable
Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addDecadesWithNoOverflow(int $value = 1): CarbonImmutable
Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addDecadeWithNoOverflow(): CarbonImmutable
Add one decade to the instance (using date interval) with overflow explicitly forbidden.
Add one decade to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subDecadesWithNoOverflow(int $value = 1): CarbonImmutable
Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subDecadeWithNoOverflow(): CarbonImmutable
Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addDecadesNoOverflow(int $value = 1): CarbonImmutable
Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addDecadeNoOverflow(): CarbonImmutable
Add one decade to the instance (using date interval) with overflow explicitly forbidden.
Add one decade to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subDecadesNoOverflow(int $value = 1): CarbonImmutable
Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subDecadeNoOverflow(): CarbonImmutable
Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addQuarters(int $value = 1): CarbonImmutable
Add quarters (the $value count passed in) to the instance (using date interval).
Add quarters (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
addQuarter(): CarbonImmutable
Add one quarter to the instance (using date interval).
Add one quarter to the instance (using date interval).
Implements
|
#
|
public
|
subQuarters(int $value = 1): CarbonImmutable
Sub quarters (the $value count passed in) to the instance (using date interval).
Sub quarters (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
subQuarter(): CarbonImmutable
Sub one quarter to the instance (using date interval).
Sub one quarter to the instance (using date interval).
Implements
|
#
|
public
|
addQuartersWithOverflow(int $value = 1): CarbonImmutable
Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
addQuarterWithOverflow(): CarbonImmutable
Add one quarter to the instance (using date interval) with overflow explicitly allowed.
Add one quarter to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
subQuartersWithOverflow(int $value = 1): CarbonImmutable
Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
subQuarterWithOverflow(): CarbonImmutable
Sub one quarter to the instance (using date interval) with overflow explicitly allowed.
Sub one quarter to the instance (using date interval) with overflow explicitly allowed.
Implements
|
#
|
public
|
addQuartersWithoutOverflow(int $value = 1): CarbonImmutable
Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addQuarterWithoutOverflow(): CarbonImmutable
Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subQuartersWithoutOverflow(int $value = 1): CarbonImmutable
Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subQuarterWithoutOverflow(): CarbonImmutable
Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addQuartersWithNoOverflow(int $value = 1): CarbonImmutable
Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addQuarterWithNoOverflow(): CarbonImmutable
Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subQuartersWithNoOverflow(int $value = 1): CarbonImmutable
Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subQuarterWithNoOverflow(): CarbonImmutable
Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addQuartersNoOverflow(int $value = 1): CarbonImmutable
Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addQuarterNoOverflow(): CarbonImmutable
Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subQuartersNoOverflow(int $value = 1): CarbonImmutable
Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
subQuarterNoOverflow(): CarbonImmutable
Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
Implements
|
#
|
public
|
addWeeks(int $value = 1): CarbonImmutable
Add weeks (the $value count passed in) to the instance (using date interval).
Add weeks (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
addWeek(): CarbonImmutable
Add one week to the instance (using date interval).
Add one week to the instance (using date interval).
Implements
|
#
|
public
|
subWeeks(int $value = 1): CarbonImmutable
Sub weeks (the $value count passed in) to the instance (using date interval).
Sub weeks (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
subWeek(): CarbonImmutable
Sub one week to the instance (using date interval).
Sub one week to the instance (using date interval).
Implements
|
#
|
public
|
addWeekdays(int $value = 1): CarbonImmutable
Add weekdays (the $value count passed in) to the instance (using date interval).
Add weekdays (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
addWeekday(): CarbonImmutable
Add one weekday to the instance (using date interval).
Add one weekday to the instance (using date interval).
Implements
|
#
|
public
|
subWeekdays(int $value = 1): CarbonImmutable
Sub weekdays (the $value count passed in) to the instance (using date interval).
Sub weekdays (the $value count passed in) to the instance (using date interval).
Implements
|
#
|
public
|
subWeekday(): CarbonImmutable
Sub one weekday to the instance (using date interval).
Sub one weekday to the instance (using date interval).
Implements
|
#
|
public
|
addRealMicros(int $value = 1): CarbonImmutable
Add microseconds (the $value count passed in) to the instance (using timestamp).
Add microseconds (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
addRealMicro(): CarbonImmutable
Add one microsecond to the instance (using timestamp).
Add one microsecond to the instance (using timestamp).
Implements
|
#
|
public
|
subRealMicros(int $value = 1): CarbonImmutable
Sub microseconds (the $value count passed in) to the instance (using timestamp).
Sub microseconds (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
subRealMicro(): CarbonImmutable
Sub one microsecond to the instance (using timestamp).
Sub one microsecond to the instance (using timestamp).
Implements
|
#
|
public
|
microsUntil($endDate = null, int $factor = 1): CarbonPeriod
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or…
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or every X microseconds if a factor is given.
Implements
|
#
|
public
|
addRealMicroseconds(int $value = 1): CarbonImmutable
Add microseconds (the $value count passed in) to the instance (using timestamp).
Add microseconds (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
addRealMicrosecond(): CarbonImmutable
Add one microsecond to the instance (using timestamp).
Add one microsecond to the instance (using timestamp).
Implements
|
#
|
public
|
subRealMicroseconds(int $value = 1): CarbonImmutable
Sub microseconds (the $value count passed in) to the instance (using timestamp).
Sub microseconds (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
subRealMicrosecond(): CarbonImmutable
Sub one microsecond to the instance (using timestamp).
Sub one microsecond to the instance (using timestamp).
Implements
|
#
|
public
|
microsecondsUntil($endDate = null, int $factor = 1): CarbonPeriod
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or…
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or every X microseconds if a factor is given.
Implements
|
#
|
public
|
addRealMillis(int $value = 1): CarbonImmutable
Add milliseconds (the $value count passed in) to the instance (using timestamp).
Add milliseconds (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
addRealMilli(): CarbonImmutable
Add one millisecond to the instance (using timestamp).
Add one millisecond to the instance (using timestamp).
Implements
|
#
|
public
|
subRealMillis(int $value = 1): CarbonImmutable
Sub milliseconds (the $value count passed in) to the instance (using timestamp).
Sub milliseconds (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
subRealMilli(): CarbonImmutable
Sub one millisecond to the instance (using timestamp).
Sub one millisecond to the instance (using timestamp).
Implements
|
#
|
public
|
millisUntil($endDate = null, int $factor = 1): CarbonPeriod
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or…
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or every X milliseconds if a factor is given.
Implements
|
#
|
public
|
addRealMilliseconds(int $value = 1): CarbonImmutable
Add milliseconds (the $value count passed in) to the instance (using timestamp).
Add milliseconds (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
addRealMillisecond(): CarbonImmutable
Add one millisecond to the instance (using timestamp).
Add one millisecond to the instance (using timestamp).
Implements
|
#
|
public
|
subRealMilliseconds(int $value = 1): CarbonImmutable
Sub milliseconds (the $value count passed in) to the instance (using timestamp).
Sub milliseconds (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
subRealMillisecond(): CarbonImmutable
Sub one millisecond to the instance (using timestamp).
Sub one millisecond to the instance (using timestamp).
Implements
|
#
|
public
|
millisecondsUntil($endDate = null, int $factor = 1): CarbonPeriod
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or…
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or every X milliseconds if a factor is given.
Implements
|
#
|
public
|
addRealSeconds(int $value = 1): CarbonImmutable
Add seconds (the $value count passed in) to the instance (using timestamp).
Add seconds (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
addRealSecond(): CarbonImmutable
Add one second to the instance (using timestamp).
Add one second to the instance (using timestamp).
Implements
|
#
|
public
|
subRealSeconds(int $value = 1): CarbonImmutable
Sub seconds (the $value count passed in) to the instance (using timestamp).
Sub seconds (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
subRealSecond(): CarbonImmutable
Sub one second to the instance (using timestamp).
Sub one second to the instance (using timestamp).
Implements
|
#
|
public
|
secondsUntil($endDate = null, int $factor = 1): CarbonPeriod
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each second or every…
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each second or every X seconds if a factor is given.
Implements
|
#
|
public
|
addRealMinutes(int $value = 1): CarbonImmutable
Add minutes (the $value count passed in) to the instance (using timestamp).
Add minutes (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
addRealMinute(): CarbonImmutable
Add one minute to the instance (using timestamp).
Add one minute to the instance (using timestamp).
Implements
|
#
|
public
|
subRealMinutes(int $value = 1): CarbonImmutable
Sub minutes (the $value count passed in) to the instance (using timestamp).
Sub minutes (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
subRealMinute(): CarbonImmutable
Sub one minute to the instance (using timestamp).
Sub one minute to the instance (using timestamp).
Implements
|
#
|
public
|
minutesUntil($endDate = null, int $factor = 1): CarbonPeriod
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each minute or every…
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each minute or every X minutes if a factor is given.
Implements
|
#
|
public
|
addRealHours(int $value = 1): CarbonImmutable
Add hours (the $value count passed in) to the instance (using timestamp).
Add hours (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
addRealHour(): CarbonImmutable
Add one hour to the instance (using timestamp).
Add one hour to the instance (using timestamp).
Implements
|
#
|
public
|
subRealHours(int $value = 1): CarbonImmutable
Sub hours (the $value count passed in) to the instance (using timestamp).
Sub hours (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
subRealHour(): CarbonImmutable
Sub one hour to the instance (using timestamp).
Sub one hour to the instance (using timestamp).
Implements
|
#
|
public
|
hoursUntil($endDate = null, int $factor = 1): CarbonPeriod
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each hour or every X…
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each hour or every X hours if a factor is given.
Implements
|
#
|
public
|
addRealDays(int $value = 1): CarbonImmutable
Add days (the $value count passed in) to the instance (using timestamp).
Add days (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
addRealDay(): CarbonImmutable
Add one day to the instance (using timestamp).
Add one day to the instance (using timestamp).
Implements
|
#
|
public
|
subRealDays(int $value = 1): CarbonImmutable
Sub days (the $value count passed in) to the instance (using timestamp).
Sub days (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
subRealDay(): CarbonImmutable
Sub one day to the instance (using timestamp).
Sub one day to the instance (using timestamp).
Implements
|
#
|
public
|
daysUntil($endDate = null, int $factor = 1): CarbonPeriod
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each day or every X…
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each day or every X days if a factor is given.
Implements
|
#
|
public
|
addRealWeeks(int $value = 1): CarbonImmutable
Add weeks (the $value count passed in) to the instance (using timestamp).
Add weeks (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
addRealWeek(): CarbonImmutable
Add one week to the instance (using timestamp).
Add one week to the instance (using timestamp).
Implements
|
#
|
public
|
subRealWeeks(int $value = 1): CarbonImmutable
Sub weeks (the $value count passed in) to the instance (using timestamp).
Sub weeks (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
subRealWeek(): CarbonImmutable
Sub one week to the instance (using timestamp).
Sub one week to the instance (using timestamp).
Implements
|
#
|
public
|
weeksUntil($endDate = null, int $factor = 1): CarbonPeriod
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each week or every X…
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each week or every X weeks if a factor is given.
Implements
|
#
|
public
|
addRealMonths(int $value = 1): CarbonImmutable
Add months (the $value count passed in) to the instance (using timestamp).
Add months (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
addRealMonth(): CarbonImmutable
Add one month to the instance (using timestamp).
Add one month to the instance (using timestamp).
Implements
|
#
|
public
|
subRealMonths(int $value = 1): CarbonImmutable
Sub months (the $value count passed in) to the instance (using timestamp).
Sub months (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
subRealMonth(): CarbonImmutable
Sub one month to the instance (using timestamp).
Sub one month to the instance (using timestamp).
Implements
|
#
|
public
|
monthsUntil($endDate = null, int $factor = 1): CarbonPeriod
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each month or every…
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each month or every X months if a factor is given.
Implements
|
#
|
public
|
addRealQuarters(int $value = 1): CarbonImmutable
Add quarters (the $value count passed in) to the instance (using timestamp).
Add quarters (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
addRealQuarter(): CarbonImmutable
Add one quarter to the instance (using timestamp).
Add one quarter to the instance (using timestamp).
Implements
|
#
|
public
|
subRealQuarters(int $value = 1): CarbonImmutable
Sub quarters (the $value count passed in) to the instance (using timestamp).
Sub quarters (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
subRealQuarter(): CarbonImmutable
Sub one quarter to the instance (using timestamp).
Sub one quarter to the instance (using timestamp).
Implements
|
#
|
public
|
quartersUntil($endDate = null, int $factor = 1): CarbonPeriod
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each quarter or…
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each quarter or every X quarters if a factor is given.
Implements
|
#
|
public
|
addRealYears(int $value = 1): CarbonImmutable
Add years (the $value count passed in) to the instance (using timestamp).
Add years (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
addRealYear(): CarbonImmutable
Add one year to the instance (using timestamp).
Add one year to the instance (using timestamp).
Implements
|
#
|
public
|
subRealYears(int $value = 1): CarbonImmutable
Sub years (the $value count passed in) to the instance (using timestamp).
Sub years (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
subRealYear(): CarbonImmutable
Sub one year to the instance (using timestamp).
Sub one year to the instance (using timestamp).
Implements
|
#
|
public
|
yearsUntil($endDate = null, int $factor = 1): CarbonPeriod
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each year or every X…
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each year or every X years if a factor is given.
Implements
|
#
|
public
|
addRealDecades(int $value = 1): CarbonImmutable
Add decades (the $value count passed in) to the instance (using timestamp).
Add decades (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
addRealDecade(): CarbonImmutable
Add one decade to the instance (using timestamp).
Add one decade to the instance (using timestamp).
Implements
|
#
|
public
|
subRealDecades(int $value = 1): CarbonImmutable
Sub decades (the $value count passed in) to the instance (using timestamp).
Sub decades (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
subRealDecade(): CarbonImmutable
Sub one decade to the instance (using timestamp).
Sub one decade to the instance (using timestamp).
Implements
|
#
|
public
|
decadesUntil($endDate = null, int $factor = 1): CarbonPeriod
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each decade or every…
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each decade or every X decades if a factor is given.
Implements
|
#
|
public
|
addRealCenturies(int $value = 1): CarbonImmutable
Add centuries (the $value count passed in) to the instance (using timestamp).
Add centuries (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
addRealCentury(): CarbonImmutable
Add one century to the instance (using timestamp).
Add one century to the instance (using timestamp).
Implements
|
#
|
public
|
subRealCenturies(int $value = 1): CarbonImmutable
Sub centuries (the $value count passed in) to the instance (using timestamp).
Sub centuries (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
subRealCentury(): CarbonImmutable
Sub one century to the instance (using timestamp).
Sub one century to the instance (using timestamp).
Implements
|
#
|
public
|
centuriesUntil($endDate = null, int $factor = 1): CarbonPeriod
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each century or…
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each century or every X centuries if a factor is given.
Implements
|
#
|
public
|
addRealMillennia(int $value = 1): CarbonImmutable
Add millennia (the $value count passed in) to the instance (using timestamp).
Add millennia (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
addRealMillennium(): CarbonImmutable
Add one millennium to the instance (using timestamp).
Add one millennium to the instance (using timestamp).
Implements
|
#
|
public
|
subRealMillennia(int $value = 1): CarbonImmutable
Sub millennia (the $value count passed in) to the instance (using timestamp).
Sub millennia (the $value count passed in) to the instance (using timestamp).
Implements
|
#
|
public
|
subRealMillennium(): CarbonImmutable
Sub one millennium to the instance (using timestamp).
Sub one millennium to the instance (using timestamp).
Implements
|
#
|
public
|
millenniaUntil($endDate = null, int $factor = 1): CarbonPeriod
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millennium or…
Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millennium or every X millennia if a factor is given.
Implements
|
#
|
public
|
roundYear(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance year with given precision using the given function.
Round the current instance year with given precision using the given function.
Implements
|
#
|
public
|
roundYears(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance year with given precision using the given function.
Round the current instance year with given precision using the given function.
Implements
|
#
|
public
|
floorYear(float $precision = 1): CarbonImmutable
Truncate the current instance year with given precision.
Truncate the current instance year with given precision.
Implements
|
#
|
public
|
floorYears(float $precision = 1): CarbonImmutable
Truncate the current instance year with given precision.
Truncate the current instance year with given precision.
Implements
|
#
|
public
|
ceilYear(float $precision = 1): CarbonImmutable
Ceil the current instance year with given precision.
Ceil the current instance year with given precision.
Implements
|
#
|
public
|
ceilYears(float $precision = 1): CarbonImmutable
Ceil the current instance year with given precision.
Ceil the current instance year with given precision.
Implements
|
#
|
public
|
roundMonth(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance month with given precision using the given function.
Round the current instance month with given precision using the given function.
Implements
|
#
|
public
|
roundMonths(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance month with given precision using the given function.
Round the current instance month with given precision using the given function.
Implements
|
#
|
public
|
floorMonth(float $precision = 1): CarbonImmutable
Truncate the current instance month with given precision.
Truncate the current instance month with given precision.
Implements
|
#
|
public
|
floorMonths(float $precision = 1): CarbonImmutable
Truncate the current instance month with given precision.
Truncate the current instance month with given precision.
Implements
|
#
|
public
|
ceilMonth(float $precision = 1): CarbonImmutable
Ceil the current instance month with given precision.
Ceil the current instance month with given precision.
Implements
|
#
|
public
|
ceilMonths(float $precision = 1): CarbonImmutable
Ceil the current instance month with given precision.
Ceil the current instance month with given precision.
Implements
|
#
|
public
|
roundDay(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance day with given precision using the given function.
Round the current instance day with given precision using the given function.
Implements
|
#
|
public
|
roundDays(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance day with given precision using the given function.
Round the current instance day with given precision using the given function.
Implements
|
#
|
public
|
floorDay(float $precision = 1): CarbonImmutable
Truncate the current instance day with given precision.
Truncate the current instance day with given precision.
Implements
|
#
|
public
|
floorDays(float $precision = 1): CarbonImmutable
Truncate the current instance day with given precision.
Truncate the current instance day with given precision.
Implements
|
#
|
public
|
ceilDay(float $precision = 1): CarbonImmutable
Ceil the current instance day with given precision.
Ceil the current instance day with given precision.
Implements
|
#
|
public
|
ceilDays(float $precision = 1): CarbonImmutable
Ceil the current instance day with given precision.
Ceil the current instance day with given precision.
Implements
|
#
|
public
|
roundHour(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance hour with given precision using the given function.
Round the current instance hour with given precision using the given function.
Implements
|
#
|
public
|
roundHours(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance hour with given precision using the given function.
Round the current instance hour with given precision using the given function.
Implements
|
#
|
public
|
floorHour(float $precision = 1): CarbonImmutable
Truncate the current instance hour with given precision.
Truncate the current instance hour with given precision.
Implements
|
#
|
public
|
floorHours(float $precision = 1): CarbonImmutable
Truncate the current instance hour with given precision.
Truncate the current instance hour with given precision.
Implements
|
#
|
public
|
ceilHour(float $precision = 1): CarbonImmutable
Ceil the current instance hour with given precision.
Ceil the current instance hour with given precision.
Implements
|
#
|
public
|
ceilHours(float $precision = 1): CarbonImmutable
Ceil the current instance hour with given precision.
Ceil the current instance hour with given precision.
Implements
|
#
|
public
|
roundMinute(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance minute with given precision using the given function.
Round the current instance minute with given precision using the given function.
Implements
|
#
|
public
|
roundMinutes(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance minute with given precision using the given function.
Round the current instance minute with given precision using the given function.
Implements
|
#
|
public
|
floorMinute(float $precision = 1): CarbonImmutable
Truncate the current instance minute with given precision.
Truncate the current instance minute with given precision.
Implements
|
#
|
public
|
floorMinutes(float $precision = 1): CarbonImmutable
Truncate the current instance minute with given precision.
Truncate the current instance minute with given precision.
Implements
|
#
|
public
|
ceilMinute(float $precision = 1): CarbonImmutable
Ceil the current instance minute with given precision.
Ceil the current instance minute with given precision.
Implements
|
#
|
public
|
ceilMinutes(float $precision = 1): CarbonImmutable
Ceil the current instance minute with given precision.
Ceil the current instance minute with given precision.
Implements
|
#
|
public
|
roundSecond(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance second with given precision using the given function.
Round the current instance second with given precision using the given function.
Implements
|
#
|
public
|
roundSeconds(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance second with given precision using the given function.
Round the current instance second with given precision using the given function.
Implements
|
#
|
public
|
floorSecond(float $precision = 1): CarbonImmutable
Truncate the current instance second with given precision.
Truncate the current instance second with given precision.
Implements
|
#
|
public
|
floorSeconds(float $precision = 1): CarbonImmutable
Truncate the current instance second with given precision.
Truncate the current instance second with given precision.
Implements
|
#
|
public
|
ceilSecond(float $precision = 1): CarbonImmutable
Ceil the current instance second with given precision.
Ceil the current instance second with given precision.
Implements
|
#
|
public
|
ceilSeconds(float $precision = 1): CarbonImmutable
Ceil the current instance second with given precision.
Ceil the current instance second with given precision.
Implements
|
#
|
public
|
roundMillennium(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance millennium with given precision using the given function.
Round the current instance millennium with given precision using the given function.
Implements
|
#
|
public
|
roundMillennia(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance millennium with given precision using the given function.
Round the current instance millennium with given precision using the given function.
Implements
|
#
|
public
|
floorMillennium(float $precision = 1): CarbonImmutable
Truncate the current instance millennium with given precision.
Truncate the current instance millennium with given precision.
Implements
|
#
|
public
|
floorMillennia(float $precision = 1): CarbonImmutable
Truncate the current instance millennium with given precision.
Truncate the current instance millennium with given precision.
Implements
|
#
|
public
|
ceilMillennium(float $precision = 1): CarbonImmutable
Ceil the current instance millennium with given precision.
Ceil the current instance millennium with given precision.
Implements
|
#
|
public
|
ceilMillennia(float $precision = 1): CarbonImmutable
Ceil the current instance millennium with given precision.
Ceil the current instance millennium with given precision.
Implements
|
#
|
public
|
roundCentury(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance century with given precision using the given function.
Round the current instance century with given precision using the given function.
Implements
|
#
|
public
|
roundCenturies(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance century with given precision using the given function.
Round the current instance century with given precision using the given function.
Implements
|
#
|
public
|
floorCentury(float $precision = 1): CarbonImmutable
Truncate the current instance century with given precision.
Truncate the current instance century with given precision.
Implements
|
#
|
public
|
floorCenturies(float $precision = 1): CarbonImmutable
Truncate the current instance century with given precision.
Truncate the current instance century with given precision.
Implements
|
#
|
public
|
ceilCentury(float $precision = 1): CarbonImmutable
Ceil the current instance century with given precision.
Ceil the current instance century with given precision.
Implements
|
#
|
public
|
ceilCenturies(float $precision = 1): CarbonImmutable
Ceil the current instance century with given precision.
Ceil the current instance century with given precision.
Implements
|
#
|
public
|
roundDecade(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance decade with given precision using the given function.
Round the current instance decade with given precision using the given function.
Implements
|
#
|
public
|
roundDecades(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance decade with given precision using the given function.
Round the current instance decade with given precision using the given function.
Implements
|
#
|
public
|
floorDecade(float $precision = 1): CarbonImmutable
Truncate the current instance decade with given precision.
Truncate the current instance decade with given precision.
Implements
|
#
|
public
|
floorDecades(float $precision = 1): CarbonImmutable
Truncate the current instance decade with given precision.
Truncate the current instance decade with given precision.
Implements
|
#
|
public
|
ceilDecade(float $precision = 1): CarbonImmutable
Ceil the current instance decade with given precision.
Ceil the current instance decade with given precision.
Implements
|
#
|
public
|
ceilDecades(float $precision = 1): CarbonImmutable
Ceil the current instance decade with given precision.
Ceil the current instance decade with given precision.
Implements
|
#
|
public
|
roundQuarter(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance quarter with given precision using the given function.
Round the current instance quarter with given precision using the given function.
Implements
|
#
|
public
|
roundQuarters(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance quarter with given precision using the given function.
Round the current instance quarter with given precision using the given function.
Implements
|
#
|
public
|
floorQuarter(float $precision = 1): CarbonImmutable
Truncate the current instance quarter with given precision.
Truncate the current instance quarter with given precision.
Implements
|
#
|
public
|
floorQuarters(float $precision = 1): CarbonImmutable
Truncate the current instance quarter with given precision.
Truncate the current instance quarter with given precision.
Implements
|
#
|
public
|
ceilQuarter(float $precision = 1): CarbonImmutable
Ceil the current instance quarter with given precision.
Ceil the current instance quarter with given precision.
Implements
|
#
|
public
|
ceilQuarters(float $precision = 1): CarbonImmutable
Ceil the current instance quarter with given precision.
Ceil the current instance quarter with given precision.
Implements
|
#
|
public
|
roundMillisecond(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance millisecond with given precision using the given function.
Round the current instance millisecond with given precision using the given function.
Implements
|
#
|
public
|
roundMilliseconds(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance millisecond with given precision using the given function.
Round the current instance millisecond with given precision using the given function.
Implements
|
#
|
public
|
floorMillisecond(float $precision = 1): CarbonImmutable
Truncate the current instance millisecond with given precision.
Truncate the current instance millisecond with given precision.
Implements
|
#
|
public
|
floorMilliseconds(float $precision = 1): CarbonImmutable
Truncate the current instance millisecond with given precision.
Truncate the current instance millisecond with given precision.
Implements
|
#
|
public
|
ceilMillisecond(float $precision = 1): CarbonImmutable
Ceil the current instance millisecond with given precision.
Ceil the current instance millisecond with given precision.
Implements
|
#
|
public
|
ceilMilliseconds(float $precision = 1): CarbonImmutable
Ceil the current instance millisecond with given precision.
Ceil the current instance millisecond with given precision.
Implements
|
#
|
public
|
roundMicrosecond(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance microsecond with given precision using the given function.
Round the current instance microsecond with given precision using the given function.
Implements
|
#
|
public
|
roundMicroseconds(float $precision = 1, string $function = "\"round\""): CarbonImmutable
Round the current instance microsecond with given precision using the given function.
Round the current instance microsecond with given precision using the given function.
Implements
|
#
|
public
|
floorMicrosecond(float $precision = 1): CarbonImmutable
Truncate the current instance microsecond with given precision.
Truncate the current instance microsecond with given precision.
Implements
|
#
|
public
|
floorMicroseconds(float $precision = 1): CarbonImmutable
Truncate the current instance microsecond with given precision.
Truncate the current instance microsecond with given precision.
Implements
|
#
|
public
|
ceilMicrosecond(float $precision = 1): CarbonImmutable
Ceil the current instance microsecond with given precision.
Ceil the current instance microsecond with given precision.
Implements
|
#
|
public
|
ceilMicroseconds(float $precision = 1): CarbonImmutable
Ceil the current instance microsecond with given precision.
Ceil the current instance microsecond with given precision.
Implements
|
#
|
public
|
shortAbsoluteDiffForHumans(DateTimeInterface $other = null, int $parts = 1): string
Get the difference (short format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts…
Get the difference (short format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
Implements
|
#
|
public
|
longAbsoluteDiffForHumans(DateTimeInterface $other = null, int $parts = 1): string
Get the difference (long format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts…
Get the difference (long format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
Implements
|
#
|
public
|
shortRelativeDiffForHumans(DateTimeInterface $other = null, int $parts = 1): string
Get the difference (short format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts…
Get the difference (short format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
Implements
|
#
|
public
|
longRelativeDiffForHumans(DateTimeInterface $other = null, int $parts = 1): string
Get the difference (long format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts…
Get the difference (long format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
Implements
|
#
|
public
|
shortRelativeToNowDiffForHumans(DateTimeInterface $other = null, int $parts = 1): string
Get the difference (short format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and …
Get the difference (short format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
Implements
|
#
|
public
|
longRelativeToNowDiffForHumans(DateTimeInterface $other = null, int $parts = 1): string
Get the difference (long format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and …
Get the difference (long format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
Implements
|
#
|
public
|
shortRelativeToOtherDiffForHumans(DateTimeInterface $other = null, int $parts = 1): string
Get the difference (short format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and…
Get the difference (short format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
Implements
|
#
|
public
|
longRelativeToOtherDiffForHumans(DateTimeInterface $other = null, int $parts = 1): string
Get the difference (long format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and …
Get the difference (long format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
Implements
|
#
|
public
static
|
createFromFormat(string $format, string $time, string|DateTimeZone $timezone = null): static|false
Parse a string into a new CarbonImmutable object according to the specified format.
Parse a string into a new CarbonImmutable object according to the specified format.
Parameters
Overrides
Implements
|
#
|
public
static
|
__set_state(array $array): static
https://php.net/manual/en/datetime.set-state.php
|
#
|