Class Illuminate\Support\Carbon

extends Carbon
uses Conditionable, Dumpable
Methods
Methods inherited from Carbon\Carbon
isMutable(), isUtc(), isLocal(), isValid(), isDST(), isSunday(), isMonday(), isTuesday(), isWednesday(), isThursday(), isFriday(), isSaturday(), isSameYear(), isCurrentYear(), isNextYear(), isLastYear(), isCurrentMonth(), isNextMonth(), isLastMonth(), isSameWeek(), isCurrentWeek(), isNextWeek(), isLastWeek(), isSameDay(), isCurrentDay(), isNextDay(), isLastDay(), isSameHour(), isCurrentHour(), isNextHour(), isLastHour(), isSameMinute(), isCurrentMinute(), isNextMinute(), isLastMinute(), isSameSecond(), isCurrentSecond(), isNextSecond(), isLastSecond(), isSameMilli(), isCurrentMilli(), isNextMilli(), isLastMilli(), isSameMillisecond(), isCurrentMillisecond(), isNextMillisecond(), isLastMillisecond(), isSameMicro(), isCurrentMicro(), isNextMicro(), isLastMicro(), isSameMicrosecond(), isCurrentMicrosecond(), isNextMicrosecond(), isLastMicrosecond(), isSameDecade(), isCurrentDecade(), isNextDecade(), isLastDecade(), isSameCentury(), isCurrentCentury(), isNextCentury(), isLastCentury(), isSameMillennium(), isCurrentMillennium(), isNextMillennium(), isLastMillennium(), isCurrentQuarter(), isNextQuarter(), isLastQuarter(), years(), year(), setYears(), setYear(), months(), month(), setMonths(), setMonth(), days(), day(), setDays(), setDay(), hours(), hour(), setHours(), setHour(), minutes(), minute(), setMinutes(), setMinute(), seconds(), second(), setSeconds(), setSecond(), millis(), milli(), setMillis(), setMilli(), milliseconds(), millisecond(), setMilliseconds(), setMillisecond(), micros(), micro(), setMicros(), setMicro(), microseconds(), microsecond(), setMicroseconds(), setMicrosecond(), addYears(), addYear(), subYears(), subYear(), addYearsWithOverflow(), addYearWithOverflow(), subYearsWithOverflow(), subYearWithOverflow(), addYearsWithoutOverflow(), addYearWithoutOverflow(), subYearsWithoutOverflow(), subYearWithoutOverflow(), addYearsWithNoOverflow(), addYearWithNoOverflow(), subYearsWithNoOverflow(), subYearWithNoOverflow(), addYearsNoOverflow(), addYearNoOverflow(), subYearsNoOverflow(), subYearNoOverflow(), addMonths(), addMonth(), subMonths(), subMonth(), addMonthsWithOverflow(), addMonthWithOverflow(), subMonthsWithOverflow(), subMonthWithOverflow(), addMonthsWithoutOverflow(), addMonthWithoutOverflow(), subMonthsWithoutOverflow(), subMonthWithoutOverflow(), addMonthsWithNoOverflow(), addMonthWithNoOverflow(), subMonthsWithNoOverflow(), subMonthWithNoOverflow(), addMonthsNoOverflow(), addMonthNoOverflow(), subMonthsNoOverflow(), subMonthNoOverflow(), addDays(), addDay(), subDays(), subDay(), addHours(), addHour(), subHours(), subHour(), addMinutes(), addMinute(), subMinutes(), subMinute(), addSeconds(), addSecond(), subSeconds(), subSecond(), addMillis(), addMilli(), subMillis(), subMilli(), addMilliseconds(), addMillisecond(), subMilliseconds(), subMillisecond(), addMicros(), addMicro(), subMicros(), subMicro(), addMicroseconds(), addMicrosecond(), subMicroseconds(), subMicrosecond(), addMillennia(), addMillennium(), subMillennia(), subMillennium(), addMillenniaWithOverflow(), addMillenniumWithOverflow(), subMillenniaWithOverflow(), subMillenniumWithOverflow(), addMillenniaWithoutOverflow(), addMillenniumWithoutOverflow(), subMillenniaWithoutOverflow(), subMillenniumWithoutOverflow(), addMillenniaWithNoOverflow(), addMillenniumWithNoOverflow(), subMillenniaWithNoOverflow(), subMillenniumWithNoOverflow(), addMillenniaNoOverflow(), addMillenniumNoOverflow(), subMillenniaNoOverflow(), subMillenniumNoOverflow(), addCenturies(), addCentury(), subCenturies(), subCentury(), addCenturiesWithOverflow(), addCenturyWithOverflow(), subCenturiesWithOverflow(), subCenturyWithOverflow(), addCenturiesWithoutOverflow(), addCenturyWithoutOverflow(), subCenturiesWithoutOverflow(), subCenturyWithoutOverflow(), addCenturiesWithNoOverflow(), addCenturyWithNoOverflow(), subCenturiesWithNoOverflow(), subCenturyWithNoOverflow(), addCenturiesNoOverflow(), addCenturyNoOverflow(), subCenturiesNoOverflow(), subCenturyNoOverflow(), addDecades(), addDecade(), subDecades(), subDecade(), addDecadesWithOverflow(), addDecadeWithOverflow(), subDecadesWithOverflow(), subDecadeWithOverflow(), addDecadesWithoutOverflow(), addDecadeWithoutOverflow(), subDecadesWithoutOverflow(), subDecadeWithoutOverflow(), addDecadesWithNoOverflow(), addDecadeWithNoOverflow(), subDecadesWithNoOverflow(), subDecadeWithNoOverflow(), addDecadesNoOverflow(), addDecadeNoOverflow(), subDecadesNoOverflow(), subDecadeNoOverflow(), addQuarters(), addQuarter(), subQuarters(), subQuarter(), addQuartersWithOverflow(), addQuarterWithOverflow(), subQuartersWithOverflow(), subQuarterWithOverflow(), addQuartersWithoutOverflow(), addQuarterWithoutOverflow(), subQuartersWithoutOverflow(), subQuarterWithoutOverflow(), addQuartersWithNoOverflow(), addQuarterWithNoOverflow(), subQuartersWithNoOverflow(), subQuarterWithNoOverflow(), addQuartersNoOverflow(), addQuarterNoOverflow(), subQuartersNoOverflow(), subQuarterNoOverflow(), addWeeks(), addWeek(), subWeeks(), subWeek(), addWeekdays(), addWeekday(), subWeekdays(), subWeekday(), addUTCMicros(), addUTCMicro(), subUTCMicros(), subUTCMicro(), microsUntil(), diffInUTCMicros(), addUTCMicroseconds(), addUTCMicrosecond(), subUTCMicroseconds(), subUTCMicrosecond(), microsecondsUntil(), diffInUTCMicroseconds(), addUTCMillis(), addUTCMilli(), subUTCMillis(), subUTCMilli(), millisUntil(), diffInUTCMillis(), addUTCMilliseconds(), addUTCMillisecond(), subUTCMilliseconds(), subUTCMillisecond(), millisecondsUntil(), diffInUTCMilliseconds(), addUTCSeconds(), addUTCSecond(), subUTCSeconds(), subUTCSecond(), secondsUntil(), diffInUTCSeconds(), addUTCMinutes(), addUTCMinute(), subUTCMinutes(), subUTCMinute(), minutesUntil(), diffInUTCMinutes(), addUTCHours(), addUTCHour(), subUTCHours(), subUTCHour(), hoursUntil(), diffInUTCHours(), addUTCDays(), addUTCDay(), subUTCDays(), subUTCDay(), daysUntil(), diffInUTCDays(), addUTCWeeks(), addUTCWeek(), subUTCWeeks(), subUTCWeek(), weeksUntil(), diffInUTCWeeks(), addUTCMonths(), addUTCMonth(), subUTCMonths(), subUTCMonth(), monthsUntil(), diffInUTCMonths(), addUTCQuarters(), addUTCQuarter(), subUTCQuarters(), subUTCQuarter(), quartersUntil(), diffInUTCQuarters(), addUTCYears(), addUTCYear(), subUTCYears(), subUTCYear(), yearsUntil(), diffInUTCYears(), addUTCDecades(), addUTCDecade(), subUTCDecades(), subUTCDecade(), decadesUntil(), diffInUTCDecades(), addUTCCenturies(), addUTCCentury(), subUTCCenturies(), subUTCCentury(), centuriesUntil(), diffInUTCCenturies(), addUTCMillennia(), addUTCMillennium(), subUTCMillennia(), subUTCMillennium(), millenniaUntil(), diffInUTCMillennia(), roundYear(), roundYears(), floorYear(), floorYears(), ceilYear(), ceilYears(), roundMonth(), roundMonths(), floorMonth(), floorMonths(), ceilMonth(), ceilMonths(), roundDay(), roundDays(), floorDay(), floorDays(), ceilDay(), ceilDays(), roundHour(), roundHours(), floorHour(), floorHours(), ceilHour(), ceilHours(), roundMinute(), roundMinutes(), floorMinute(), floorMinutes(), ceilMinute(), ceilMinutes(), roundSecond(), roundSeconds(), floorSecond(), floorSeconds(), ceilSecond(), ceilSeconds(), roundMillennium(), roundMillennia(), floorMillennium(), floorMillennia(), ceilMillennium(), ceilMillennia(), roundCentury(), roundCenturies(), floorCentury(), floorCenturies(), ceilCentury(), ceilCenturies(), roundDecade(), roundDecades(), floorDecade(), floorDecades(), ceilDecade(), ceilDecades(), roundQuarter(), roundQuarters(), floorQuarter(), floorQuarters(), ceilQuarter(), ceilQuarters(), roundMillisecond(), roundMilliseconds(), floorMillisecond(), floorMilliseconds(), ceilMillisecond(), ceilMilliseconds(), roundMicrosecond(), roundMicroseconds(), floorMicrosecond(), floorMicroseconds(), ceilMicrosecond(), ceilMicroseconds(), shortAbsoluteDiffForHumans(), longAbsoluteDiffForHumans(), shortRelativeDiffForHumans(), longRelativeDiffForHumans(), shortRelativeToNowDiffForHumans(), longRelativeToNowDiffForHumans(), shortRelativeToOtherDiffForHumans(), longRelativeToOtherDiffForHumans(), centuriesInMillennium(), centuryOfMillennium(), dayOfCentury(), dayOfDecade(), dayOfMillennium(), dayOfMonth(), dayOfQuarter(), dayOfWeek(), daysInCentury(), daysInDecade(), daysInMillennium(), daysInMonth(), daysInQuarter(), daysInWeek(), daysInYear(), decadeOfCentury(), decadeOfMillennium(), decadesInCentury(), decadesInMillennium(), hourOfCentury(), hourOfDay(), hourOfDecade(), hourOfMillennium(), hourOfMonth(), hourOfQuarter(), hourOfWeek(), hourOfYear(), hoursInCentury(), hoursInDay(), hoursInDecade(), hoursInMillennium(), hoursInMonth(), hoursInQuarter(), hoursInWeek(), hoursInYear(), microsecondOfCentury(), microsecondOfDay(), microsecondOfDecade(), microsecondOfHour(), microsecondOfMillennium(), microsecondOfMillisecond(), microsecondOfMinute(), microsecondOfMonth(), microsecondOfQuarter(), microsecondOfSecond(), microsecondOfWeek(), microsecondOfYear(), microsecondsInCentury(), microsecondsInDay(), microsecondsInDecade(), microsecondsInHour(), microsecondsInMillennium(), microsecondsInMillisecond(), microsecondsInMinute(), microsecondsInMonth(), microsecondsInQuarter(), microsecondsInSecond(), microsecondsInWeek(), microsecondsInYear(), millisecondOfCentury(), millisecondOfDay(), millisecondOfDecade(), millisecondOfHour(), millisecondOfMillennium(), millisecondOfMinute(), millisecondOfMonth(), millisecondOfQuarter(), millisecondOfSecond(), millisecondOfWeek(), millisecondOfYear(), millisecondsInCentury(), millisecondsInDay(), millisecondsInDecade(), millisecondsInHour(), millisecondsInMillennium(), millisecondsInMinute(), millisecondsInMonth(), millisecondsInQuarter(), millisecondsInSecond(), millisecondsInWeek(), millisecondsInYear(), minuteOfCentury(), minuteOfDay(), minuteOfDecade(), minuteOfHour(), minuteOfMillennium(), minuteOfMonth(), minuteOfQuarter(), minuteOfWeek(), minuteOfYear(), minutesInCentury(), minutesInDay(), minutesInDecade(), minutesInHour(), minutesInMillennium(), minutesInMonth(), minutesInQuarter(), minutesInWeek(), minutesInYear(), monthOfCentury(), monthOfDecade(), monthOfMillennium(), monthOfQuarter(), monthOfYear(), monthsInCentury(), monthsInDecade(), monthsInMillennium(), monthsInQuarter(), monthsInYear(), quarterOfCentury(), quarterOfDecade(), quarterOfMillennium(), quarterOfYear(), quartersInCentury(), quartersInDecade(), quartersInMillennium(), quartersInYear(), secondOfCentury(), secondOfDay(), secondOfDecade(), secondOfHour(), secondOfMillennium(), secondOfMinute(), secondOfMonth(), secondOfQuarter(), secondOfWeek(), secondOfYear(), secondsInCentury(), secondsInDay(), secondsInDecade(), secondsInHour(), secondsInMillennium(), secondsInMinute(), secondsInMonth(), secondsInQuarter(), secondsInWeek(), secondsInYear(), weekOfCentury(), weekOfDecade(), weekOfMillennium(), weekOfMonth(), weekOfQuarter(), weekOfYear(), weeksInCentury(), weeksInDecade(), weeksInMillennium(), weeksInMonth(), weeksInQuarter(), yearOfCentury(), yearOfDecade(), yearOfMillennium(), yearsInCentury(), yearsInDecade(), yearsInMillennium()
Methods inherited from DateTime
__construct(), __serialize(), __unserialize(), __wakeup(), __set_state(), createFromImmutable(), createFromInterface(), createFromFormat(), getLastErrors(), format(), modify(), add(), sub(), getTimezone(), setTimezone(), getOffset(), setTime(), setDate(), setISODate(), setTimestamp(), getTimestamp(), diff()
Methods used from Carbon\Traits\Date
safeCreateDateTimeZone(), getTimezone(), getRangesByUnit(), copy(), clone(), avoidMutation(), nowWithSameTz(), carbonize(), __get(), get(), __isset(), __set(), set(), getTranslatedDayName(), getTranslatedShortDayName(), getTranslatedMinDayName(), getTranslatedMonthName(), getTranslatedShortMonthName(), dayOfYear(), weekday(), isoWeekday(), getDaysFromStartOfWeek(), setDaysFromStartOfWeek(), setUnitNoOverflow(), addUnitNoOverflow(), subUnitNoOverflow(), utcOffset(), setDate(), setISODate(), setDateTime(), setTime(), setTimestamp(), setTimeFromTimeString(), timezone(), tz(), setTimezone(), shiftTimezone(), utc(), setDateFrom(), setTimeFrom(), setDateTimeFrom(), getDays(), getWeekStartsAt(), getWeekEndsAt(), getWeekendDays(), setWeekendDays(), hasRelativeKeywords(), getIsoFormats(), getCalendarFormats(), getIsoUnits(), getPaddedUnit(), ordinal(), meridiem(), getAltNumber(), isoFormat(), getFormatsToIsoReplacements(), translatedFormat(), getOffsetString(), __callStatic(), setUnit(), singularUnit(), pluralUnit(), sleep(), __call(), resolveCarbon(), weekRotate(), executeCallable(), executeCallableWithContext(), getAllGenericMacros(), getGenericMacros(), executeStaticCallable(), getTranslatedFormByRegExp(),
Methods used from Illuminate\Support\Traits\Conditionable
when(), unless()
Methods used from Illuminate\Support\Traits\Dumpable
dd(), dump()
Constants inherited from Carbon\CarbonInterface
NO_ZERO_DIFF, JUST_NOW, ONE_DAY_WORDS, TWO_DAY_WORDS, SEQUENTIAL_PARTS_ONLY, ROUND, FLOOR, CEIL, DIFF_ABSOLUTE, DIFF_RELATIVE_AUTO, DIFF_RELATIVE_TO_NOW, DIFF_RELATIVE_TO_OTHER, TRANSLATE_MONTHS, TRANSLATE_DAYS, TRANSLATE_UNITS, TRANSLATE_MERIDIEM, TRANSLATE_DIFF, TRANSLATE_ALL, SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY, AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, DECEMBER, YEARS_PER_MILLENNIUM, YEARS_PER_CENTURY, YEARS_PER_DECADE, MONTHS_PER_YEAR, MONTHS_PER_QUARTER, QUARTERS_PER_YEAR, WEEKS_PER_YEAR, WEEKS_PER_MONTH, DAYS_PER_YEAR, DAYS_PER_WEEK, HOURS_PER_DAY, MINUTES_PER_HOUR, SECONDS_PER_MINUTE, MILLISECONDS_PER_SECOND, MICROSECONDS_PER_MILLISECOND, MICROSECONDS_PER_SECOND, WEEK_DAY_AUTO, RFC7231_FORMAT, DEFAULT_TO_STRING_FORMAT, MOCK_DATETIME_FORMAT, ISO_FORMAT_REGEXP, DEFAULT_LOCALE
Properties inherited from Carbon\Carbon
$localeDayOfWeek, $shortLocaleDayOfWeek, $localeMonth, $shortLocaleMonth, $year, $yearIso, $month, $day, $hour, $minute, $second, $micro, $microsecond, $dayOfWeekIso, $timestamp, $englishDayOfWeek, $shortEnglishDayOfWeek, $englishMonth, $shortEnglishMonth, $milliseconds, $millisecond, $milli, $week, $isoWeek, $weekYear, $isoWeekYear, $age, $offset, $offsetMinutes, $offsetHours, $timezone, $tz, $centuryOfMillennium, $dayOfCentury, $dayOfDecade, $dayOfMillennium, $dayOfMonth, $dayOfQuarter, $dayOfWeek, $dayOfYear, $decadeOfCentury, $decadeOfMillennium, $hourOfCentury, $hourOfDay, $hourOfDecade, $hourOfMillennium, $hourOfMonth, $hourOfQuarter, $hourOfWeek, $hourOfYear, $microsecondOfCentury, $microsecondOfDay, $microsecondOfDecade, $microsecondOfHour, $microsecondOfMillennium, $microsecondOfMillisecond, $microsecondOfMinute, $microsecondOfMonth, $microsecondOfQuarter, $microsecondOfSecond, $microsecondOfWeek, $microsecondOfYear, $millisecondOfCentury, $millisecondOfDay, $millisecondOfDecade, $millisecondOfHour, $millisecondOfMillennium, $millisecondOfMinute, $millisecondOfMonth, $millisecondOfQuarter, $millisecondOfSecond, $millisecondOfWeek, $millisecondOfYear, $minuteOfCentury, $minuteOfDay, $minuteOfDecade, $minuteOfHour, $minuteOfMillennium, $minuteOfMonth, $minuteOfQuarter, $minuteOfWeek, $minuteOfYear, $monthOfCentury, $monthOfDecade, $monthOfMillennium, $monthOfQuarter, $monthOfYear, $quarterOfCentury, $quarterOfDecade, $quarterOfMillennium, $quarterOfYear, $secondOfCentury, $secondOfDay, $secondOfDecade, $secondOfHour, $secondOfMillennium, $secondOfMinute, $secondOfMonth, $secondOfQuarter, $secondOfWeek, $secondOfYear, $weekOfCentury, $weekOfDecade, $weekOfMillennium, $weekOfMonth, $weekOfQuarter, $weekOfYear, $yearOfCentury, $yearOfDecade, $yearOfMillennium, $latinMeridiem, $latinUpperMeridiem, $timezoneAbbreviatedName, $tzAbbrName, $dayName, $shortDayName, $minDayName, $monthName, $shortMonthName, $meridiem, $upperMeridiem, $noZeroHour, $isoWeeksInYear, $weekNumberInMonth, $firstWeekDay, $lastWeekDay, $quarter, $decade, $century, $millennium, $dst, $local, $utc, $timezoneName, $tzName, $locale, $centuriesInMillennium, $daysInCentury, $daysInDecade, $daysInMillennium, $daysInMonth, $daysInQuarter, $daysInWeek, $daysInYear, $decadesInCentury, $decadesInMillennium, $hoursInCentury, $hoursInDay, $hoursInDecade, $hoursInMillennium, $hoursInMonth, $hoursInQuarter, $hoursInWeek, $hoursInYear, $microsecondsInCentury, $microsecondsInDay, $microsecondsInDecade, $microsecondsInHour, $microsecondsInMillennium, $microsecondsInMillisecond, $microsecondsInMinute, $microsecondsInMonth, $microsecondsInQuarter, $microsecondsInSecond, $microsecondsInWeek, $microsecondsInYear, $millisecondsInCentury, $millisecondsInDay, $millisecondsInDecade, $millisecondsInHour, $millisecondsInMillennium, $millisecondsInMinute, $millisecondsInMonth, $millisecondsInQuarter, $millisecondsInSecond, $millisecondsInWeek, $millisecondsInYear, $minutesInCentury, $minutesInDay, $minutesInDecade, $minutesInHour, $minutesInMillennium, $minutesInMonth, $minutesInQuarter, $minutesInWeek, $minutesInYear, $monthsInCentury, $monthsInDecade, $monthsInMillennium, $monthsInQuarter, $monthsInYear, $quartersInCentury, $quartersInDecade, $quartersInMillennium, $quartersInYear, $secondsInCentury, $secondsInDay, $secondsInDecade, $secondsInHour, $secondsInMillennium, $secondsInMinute, $secondsInMonth, $secondsInQuarter, $secondsInWeek, $secondsInYear, $weeksInCentury, $weeksInDecade, $weeksInMillennium, $weeksInMonth, $weeksInQuarter, $weeksInYear, $yearsInCentury, $yearsInDecade, $yearsInMillennium
Properties used from Carbon\Traits\Date
$days, $units,