Methods |
public
static
|
isMutable(): bool
Returns true if the current class/instance is mutable.
Returns true if the current class/instance is mutable.
Implements
|
#
|
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): $this
Set current instance year to the given value.
Set current instance year to the given value.
Implements
|
#
|
public
|
year(int $value): $this
Set current instance year to the given value.
Set current instance year to the given value.
Implements
|
#
|
public
|
setYears(int $value): $this
Set current instance year to the given value.
Set current instance year to the given value.
Implements
|
#
|
public
|
setYear(int $value): $this
Set current instance year to the given value.
Set current instance year to the given value.
Implements
|
#
|
public
|
months(int $value): $this
Set current instance month to the given value.
Set current instance month to the given value.
Implements
|
#
|
public
|
month(int $value): $this
Set current instance month to the given value.
Set current instance month to the given value.
Implements
|
#
|
public
|
setMonths(int $value): $this
Set current instance month to the given value.
Set current instance month to the given value.
Implements
|
#
|
public
|
setMonth(int $value): $this
Set current instance month to the given value.
Set current instance month to the given value.
Implements
|
#
|
public
|
days(int $value): $this
Set current instance day to the given value.
Set current instance day to the given value.
Implements
|
#
|
public
|
day(int $value): $this
Set current instance day to the given value.
Set current instance day to the given value.
Implements
|
#
|
public
|
setDays(int $value): $this
Set current instance day to the given value.
Set current instance day to the given value.
Implements
|
#
|
public
|
setDay(int $value): $this
Set current instance day to the given value.
Set current instance day to the given value.
Implements
|
#
|
public
|
hours(int $value): $this
Set current instance hour to the given value.
Set current instance hour to the given value.
Implements
|
#
|
public
|
hour(int $value): $this
Set current instance hour to the given value.
Set current instance hour to the given value.
Implements
|
#
|
public
|
setHours(int $value): $this
Set current instance hour to the given value.
Set current instance hour to the given value.
Implements
|
#
|
public
|
setHour(int $value): $this
Set current instance hour to the given value.
Set current instance hour to the given value.
Implements
|
#
|
public
|
minutes(int $value): $this
Set current instance minute to the given value.
Set current instance minute to the given value.
Implements
|
#
|
public
|
minute(int $value): $this
Set current instance minute to the given value.
Set current instance minute to the given value.
Implements
|
#
|
public
|
setMinutes(int $value): $this
Set current instance minute to the given value.
Set current instance minute to the given value.
Implements
|
#
|
public
|
setMinute(int $value): $this
Set current instance minute to the given value.
Set current instance minute to the given value.
Implements
|
#
|
public
|
seconds(int $value): $this
Set current instance second to the given value.
Set current instance second to the given value.
Implements
|
#
|
public
|
second(int $value): $this
Set current instance second to the given value.
Set current instance second to the given value.
Implements
|
#
|
public
|
setSeconds(int $value): $this
Set current instance second to the given value.
Set current instance second to the given value.
Implements
|
#
|
public
|
setSecond(int $value): $this
Set current instance second to the given value.
Set current instance second to the given value.
Implements
|
#
|
public
|
millis(int $value): $this
Set current instance millisecond to the given value.
Set current instance millisecond to the given value.
Implements
|
#
|
public
|
milli(int $value): $this
Set current instance millisecond to the given value.
Set current instance millisecond to the given value.
Implements
|
#
|
public
|
setMillis(int $value): $this
Set current instance millisecond to the given value.
Set current instance millisecond to the given value.
Implements
|
#
|
public
|
setMilli(int $value): $this
Set current instance millisecond to the given value.
Set current instance millisecond to the given value.
Implements
|
#
|
public
|
milliseconds(int $value): $this
Set current instance millisecond to the given value.
Set current instance millisecond to the given value.
Implements
|
#
|
public
|
millisecond(int $value): $this
Set current instance millisecond to the given value.
Set current instance millisecond to the given value.
Implements
|
#
|
public
|
setMilliseconds(int $value): $this
Set current instance millisecond to the given value.
Set current instance millisecond to the given value.
Implements
|
#
|
public
|
setMillisecond(int $value): $this
Set current instance millisecond to the given value.
Set current instance millisecond to the given value.
Implements
|
#
|
public
|
micros(int $value): $this
Set current instance microsecond to the given value.
Set current instance microsecond to the given value.
Implements
|
#
|
public
|
micro(int $value): $this
Set current instance microsecond to the given value.
Set current instance microsecond to the given value.
Implements
|
#
|
public
|
setMicros(int $value): $this
Set current instance microsecond to the given value.
Set current instance microsecond to the given value.
Implements
|
#
|
public
|
setMicro(int $value): $this
Set current instance microsecond to the given value.
Set current instance microsecond to the given value.
Implements
|
#
|
public
|
microseconds(int $value): $this
Set current instance microsecond to the given value.
Set current instance microsecond to the given value.
Implements
|
#
|
public
|
microsecond(int $value): $this
Set current instance microsecond to the given value.
Set current instance microsecond to the given value.
Implements
|
#
|
public
|
setMicroseconds(int $value): $this
Set current instance microsecond to the given value.
Set current instance microsecond to the given value.
Implements
|
#
|
public
|
setMicrosecond(int $value): $this
Set current instance microsecond to the given value.
Set current instance microsecond to the given value.
Implements
|
#
|
public
|
addYears(int $value = 1): $this
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(): $this
Add one year to the instance (using date interval).
Add one year to the instance (using date interval).
Implements
|
#
|
public
|
subYears(int $value = 1): $this
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(): $this
Sub one year to the instance (using date interval).
Sub one year to the instance (using date interval).
Implements
|
#
|
public
|
addYearsWithOverflow(int $value = 1): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
Add one month to the instance (using date interval).
Add one month to the instance (using date interval).
Implements
|
#
|
public
|
subMonths(int $value = 1): $this
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(): $this
Sub one month to the instance (using date interval).
Sub one month to the instance (using date interval).
Implements
|
#
|
public
|
addMonthsWithOverflow(int $value = 1): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
Add one day to the instance (using date interval).
Add one day to the instance (using date interval).
Implements
|
#
|
public
|
subDays(int $value = 1): $this
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(): $this
Sub one day to the instance (using date interval).
Sub one day to the instance (using date interval).
Implements
|
#
|
public
|
addHours(int $value = 1): $this
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(): $this
Add one hour to the instance (using date interval).
Add one hour to the instance (using date interval).
Implements
|
#
|
public
|
subHours(int $value = 1): $this
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(): $this
Sub one hour to the instance (using date interval).
Sub one hour to the instance (using date interval).
Implements
|
#
|
public
|
addMinutes(int $value = 1): $this
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(): $this
Add one minute to the instance (using date interval).
Add one minute to the instance (using date interval).
Implements
|
#
|
public
|
subMinutes(int $value = 1): $this
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(): $this
Sub one minute to the instance (using date interval).
Sub one minute to the instance (using date interval).
Implements
|
#
|
public
|
addSeconds(int $value = 1): $this
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(): $this
Add one second to the instance (using date interval).
Add one second to the instance (using date interval).
Implements
|
#
|
public
|
subSeconds(int $value = 1): $this
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(): $this
Sub one second to the instance (using date interval).
Sub one second to the instance (using date interval).
Implements
|
#
|
public
|
addMillis(int $value = 1): $this
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(): $this
Add one millisecond to the instance (using date interval).
Add one millisecond to the instance (using date interval).
Implements
|
#
|
public
|
subMillis(int $value = 1): $this
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(): $this
Sub one millisecond to the instance (using date interval).
Sub one millisecond to the instance (using date interval).
Implements
|
#
|
public
|
addMilliseconds(int $value = 1): $this
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(): $this
Add one millisecond to the instance (using date interval).
Add one millisecond to the instance (using date interval).
Implements
|
#
|
public
|
subMilliseconds(int $value = 1): $this
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(): $this
Sub one millisecond to the instance (using date interval).
Sub one millisecond to the instance (using date interval).
Implements
|
#
|
public
|
addMicros(int $value = 1): $this
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(): $this
Add one microsecond to the instance (using date interval).
Add one microsecond to the instance (using date interval).
Implements
|
#
|
public
|
subMicros(int $value = 1): $this
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(): $this
Sub one microsecond to the instance (using date interval).
Sub one microsecond to the instance (using date interval).
Implements
|
#
|
public
|
addMicroseconds(int $value = 1): $this
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(): $this
Add one microsecond to the instance (using date interval).
Add one microsecond to the instance (using date interval).
Implements
|
#
|
public
|
subMicroseconds(int $value = 1): $this
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(): $this
Sub one microsecond to the instance (using date interval).
Sub one microsecond to the instance (using date interval).
Implements
|
#
|
public
|
addMillennia(int $value = 1): $this
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(): $this
Add one millennium to the instance (using date interval).
Add one millennium to the instance (using date interval).
Implements
|
#
|
public
|
subMillennia(int $value = 1): $this
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(): $this
Sub one millennium to the instance (using date interval).
Sub one millennium to the instance (using date interval).
Implements
|
#
|
public
|
addMillenniaWithOverflow(int $value = 1): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
Add one century to the instance (using date interval).
Add one century to the instance (using date interval).
Implements
|
#
|
public
|
subCenturies(int $value = 1): $this
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(): $this
Sub one century to the instance (using date interval).
Sub one century to the instance (using date interval).
Implements
|
#
|
public
|
addCenturiesWithOverflow(int $value = 1): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
Add one decade to the instance (using date interval).
Add one decade to the instance (using date interval).
Implements
|
#
|
public
|
subDecades(int $value = 1): $this
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(): $this
Sub one decade to the instance (using date interval).
Sub one decade to the instance (using date interval).
Implements
|
#
|
public
|
addDecadesWithOverflow(int $value = 1): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
Add one quarter to the instance (using date interval).
Add one quarter to the instance (using date interval).
Implements
|
#
|
public
|
subQuarters(int $value = 1): $this
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(): $this
Sub one quarter to the instance (using date interval).
Sub one quarter to the instance (using date interval).
Implements
|
#
|
public
|
addQuartersWithOverflow(int $value = 1): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
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): $this
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(): $this
Add one week to the instance (using date interval).
Add one week to the instance (using date interval).
Implements
|
#
|
public
|
subWeeks(int $value = 1): $this
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(): $this
Sub one week to the instance (using date interval).
Sub one week to the instance (using date interval).
Implements
|
#
|
public
|
addWeekdays(int $value = 1): $this
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(): $this
Add one weekday to the instance (using date interval).
Add one weekday to the instance (using date interval).
Implements
|
#
|
public
|
subWeekdays(int $value = 1): $this
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(): $this
Sub one weekday to the instance (using date interval).
Sub one weekday to the instance (using date interval).
Implements
|
#
|
public
|
addRealMicros(int $value = 1): $this
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(): $this
Add one microsecond to the instance (using timestamp).
Add one microsecond to the instance (using timestamp).
Implements
|
#
|
public
|
subRealMicros(int $value = 1): $this
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(): $this
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): $this
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(): $this
Add one microsecond to the instance (using timestamp).
Add one microsecond to the instance (using timestamp).
Implements
|
#
|
public
|
subRealMicroseconds(int $value = 1): $this
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(): $this
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): $this
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(): $this
Add one millisecond to the instance (using timestamp).
Add one millisecond to the instance (using timestamp).
Implements
|
#
|
public
|
subRealMillis(int $value = 1): $this
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(): $this
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): $this
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(): $this
Add one millisecond to the instance (using timestamp).
Add one millisecond to the instance (using timestamp).
Implements
|
#
|
public
|
subRealMilliseconds(int $value = 1): $this
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(): $this
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): $this
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(): $this
Add one second to the instance (using timestamp).
Add one second to the instance (using timestamp).
Implements
|
#
|
public
|
subRealSeconds(int $value = 1): $this
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(): $this
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): $this
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(): $this
Add one minute to the instance (using timestamp).
Add one minute to the instance (using timestamp).
Implements
|
#
|
public
|
subRealMinutes(int $value = 1): $this
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(): $this
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): $this
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(): $this
Add one hour to the instance (using timestamp).
Add one hour to the instance (using timestamp).
Implements
|
#
|
public
|
subRealHours(int $value = 1): $this
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(): $this
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): $this
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(): $this
Add one day to the instance (using timestamp).
Add one day to the instance (using timestamp).
Implements
|
#
|
public
|
subRealDays(int $value = 1): $this
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(): $this
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): $this
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(): $this
Add one week to the instance (using timestamp).
Add one week to the instance (using timestamp).
Implements
|
#
|
public
|
subRealWeeks(int $value = 1): $this
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(): $this
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): $this
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(): $this
Add one month to the instance (using timestamp).
Add one month to the instance (using timestamp).
Implements
|
#
|
public
|
subRealMonths(int $value = 1): $this
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(): $this
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): $this
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(): $this
Add one quarter to the instance (using timestamp).
Add one quarter to the instance (using timestamp).
Implements
|
#
|
public
|
subRealQuarters(int $value = 1): $this
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(): $this
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): $this
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(): $this
Add one year to the instance (using timestamp).
Add one year to the instance (using timestamp).
Implements
|
#
|
public
|
subRealYears(int $value = 1): $this
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(): $this
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): $this
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(): $this
Add one decade to the instance (using timestamp).
Add one decade to the instance (using timestamp).
Implements
|
#
|
public
|
subRealDecades(int $value = 1): $this
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(): $this
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): $this
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(): $this
Add one century to the instance (using timestamp).
Add one century to the instance (using timestamp).
Implements
|
#
|
public
|
subRealCenturies(int $value = 1): $this
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(): $this
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): $this
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(): $this
Add one millennium to the instance (using timestamp).
Add one millennium to the instance (using timestamp).
Implements
|
#
|
public
|
subRealMillennia(int $value = 1): $this
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(): $this
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\""): $this
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\""): $this
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): $this
Truncate the current instance year with given precision.
Truncate the current instance year with given precision.
Implements
|
#
|
public
|
floorYears(float $precision = 1): $this
Truncate the current instance year with given precision.
Truncate the current instance year with given precision.
Implements
|
#
|
public
|
ceilYear(float $precision = 1): $this
Ceil the current instance year with given precision.
Ceil the current instance year with given precision.
Implements
|
#
|
public
|
ceilYears(float $precision = 1): $this
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\""): $this
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\""): $this
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): $this
Truncate the current instance month with given precision.
Truncate the current instance month with given precision.
Implements
|
#
|
public
|
floorMonths(float $precision = 1): $this
Truncate the current instance month with given precision.
Truncate the current instance month with given precision.
Implements
|
#
|
public
|
ceilMonth(float $precision = 1): $this
Ceil the current instance month with given precision.
Ceil the current instance month with given precision.
Implements
|
#
|
public
|
ceilMonths(float $precision = 1): $this
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\""): $this
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\""): $this
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): $this
Truncate the current instance day with given precision.
Truncate the current instance day with given precision.
Implements
|
#
|
public
|
floorDays(float $precision = 1): $this
Truncate the current instance day with given precision.
Truncate the current instance day with given precision.
Implements
|
#
|
public
|
ceilDay(float $precision = 1): $this
Ceil the current instance day with given precision.
Ceil the current instance day with given precision.
Implements
|
#
|
public
|
ceilDays(float $precision = 1): $this
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\""): $this
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\""): $this
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): $this
Truncate the current instance hour with given precision.
Truncate the current instance hour with given precision.
Implements
|
#
|
public
|
floorHours(float $precision = 1): $this
Truncate the current instance hour with given precision.
Truncate the current instance hour with given precision.
Implements
|
#
|
public
|
ceilHour(float $precision = 1): $this
Ceil the current instance hour with given precision.
Ceil the current instance hour with given precision.
Implements
|
#
|
public
|
ceilHours(float $precision = 1): $this
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\""): $this
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\""): $this
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): $this
Truncate the current instance minute with given precision.
Truncate the current instance minute with given precision.
Implements
|
#
|
public
|
floorMinutes(float $precision = 1): $this
Truncate the current instance minute with given precision.
Truncate the current instance minute with given precision.
Implements
|
#
|
public
|
ceilMinute(float $precision = 1): $this
Ceil the current instance minute with given precision.
Ceil the current instance minute with given precision.
Implements
|
#
|
public
|
ceilMinutes(float $precision = 1): $this
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\""): $this
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\""): $this
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): $this
Truncate the current instance second with given precision.
Truncate the current instance second with given precision.
Implements
|
#
|
public
|
floorSeconds(float $precision = 1): $this
Truncate the current instance second with given precision.
Truncate the current instance second with given precision.
Implements
|
#
|
public
|
ceilSecond(float $precision = 1): $this
Ceil the current instance second with given precision.
Ceil the current instance second with given precision.
Implements
|
#
|
public
|
ceilSeconds(float $precision = 1): $this
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\""): $this
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\""): $this
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): $this
Truncate the current instance millennium with given precision.
Truncate the current instance millennium with given precision.
Implements
|
#
|
public
|
floorMillennia(float $precision = 1): $this
Truncate the current instance millennium with given precision.
Truncate the current instance millennium with given precision.
Implements
|
#
|
public
|
ceilMillennium(float $precision = 1): $this
Ceil the current instance millennium with given precision.
Ceil the current instance millennium with given precision.
Implements
|
#
|
public
|
ceilMillennia(float $precision = 1): $this
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\""): $this
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\""): $this
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): $this
Truncate the current instance century with given precision.
Truncate the current instance century with given precision.
Implements
|
#
|
public
|
floorCenturies(float $precision = 1): $this
Truncate the current instance century with given precision.
Truncate the current instance century with given precision.
Implements
|
#
|
public
|
ceilCentury(float $precision = 1): $this
Ceil the current instance century with given precision.
Ceil the current instance century with given precision.
Implements
|
#
|
public
|
ceilCenturies(float $precision = 1): $this
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\""): $this
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\""): $this
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): $this
Truncate the current instance decade with given precision.
Truncate the current instance decade with given precision.
Implements
|
#
|
public
|
floorDecades(float $precision = 1): $this
Truncate the current instance decade with given precision.
Truncate the current instance decade with given precision.
Implements
|
#
|
public
|
ceilDecade(float $precision = 1): $this
Ceil the current instance decade with given precision.
Ceil the current instance decade with given precision.
Implements
|
#
|
public
|
ceilDecades(float $precision = 1): $this
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\""): $this
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\""): $this
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): $this
Truncate the current instance quarter with given precision.
Truncate the current instance quarter with given precision.
Implements
|
#
|
public
|
floorQuarters(float $precision = 1): $this
Truncate the current instance quarter with given precision.
Truncate the current instance quarter with given precision.
Implements
|
#
|
public
|
ceilQuarter(float $precision = 1): $this
Ceil the current instance quarter with given precision.
Ceil the current instance quarter with given precision.
Implements
|
#
|
public
|
ceilQuarters(float $precision = 1): $this
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\""): $this
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\""): $this
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): $this
Truncate the current instance millisecond with given precision.
Truncate the current instance millisecond with given precision.
Implements
|
#
|
public
|
floorMilliseconds(float $precision = 1): $this
Truncate the current instance millisecond with given precision.
Truncate the current instance millisecond with given precision.
Implements
|
#
|
public
|
ceilMillisecond(float $precision = 1): $this
Ceil the current instance millisecond with given precision.
Ceil the current instance millisecond with given precision.
Implements
|
#
|
public
|
ceilMilliseconds(float $precision = 1): $this
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\""): $this
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\""): $this
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): $this
Truncate the current instance microsecond with given precision.
Truncate the current instance microsecond with given precision.
Implements
|
#
|
public
|
floorMicroseconds(float $precision = 1): $this
Truncate the current instance microsecond with given precision.
Truncate the current instance microsecond with given precision.
Implements
|
#
|
public
|
ceilMicrosecond(float $precision = 1): $this
Ceil the current instance microsecond with given precision.
Ceil the current instance microsecond with given precision.
Implements
|
#
|
public
|
ceilMicroseconds(float $precision = 1): $this
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 Carbon object according to the specified format.
Parse a string into a new Carbon 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
|
#
|