A

AbstractTranslatorClass in namespaceCarbon
$AbstractTranslator#aliasesProperty in classAbstractTranslator
List of locales aliases.
AbstractTranslator::addDirectory() — Method in classAbstractTranslator
Add a directory to the list translation files are searched in.
$Carbon#ageProperty in classCarbon
does a diffInYears() with default parameters
$CarbonImmutable#ageProperty in classCarbonImmutable
does a diffInYears() with default parameters
CarbonImmutable::addYears() — Method in classCarbonImmutable
Add years (the $value count passed in) to the instance (using date interval).
CarbonImmutable::addYear() — Method in classCarbonImmutable
Add one year to the instance (using date interval).
CarbonImmutable::addYearsWithOverflow() — Method in classCarbonImmutable
Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::addYearWithOverflow() — Method in classCarbonImmutable
Add one year to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::addYearsWithoutOverflow() — Method in classCarbonImmutable
Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addYearWithoutOverflow() — Method in classCarbonImmutable
Add one year to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addYearsWithNoOverflow() — Method in classCarbonImmutable
Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addYearWithNoOverflow() — Method in classCarbonImmutable
Add one year to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addYearsNoOverflow() — Method in classCarbonImmutable
Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addYearNoOverflow() — Method in classCarbonImmutable
Add one year to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addMonths() — Method in classCarbonImmutable
Add months (the $value count passed in) to the instance (using date interval).
CarbonImmutable::addMonth() — Method in classCarbonImmutable
Add one month to the instance (using date interval).
CarbonImmutable::addMonthsWithOverflow() — Method in classCarbonImmutable
Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::addMonthWithOverflow() — Method in classCarbonImmutable
Add one month to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::addMonthsWithoutOverflow() — Method in classCarbonImmutable
Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addMonthWithoutOverflow() — Method in classCarbonImmutable
Add one month to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addMonthsWithNoOverflow() — Method in classCarbonImmutable
Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addMonthWithNoOverflow() — Method in classCarbonImmutable
Add one month to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addMonthsNoOverflow() — Method in classCarbonImmutable
Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addMonthNoOverflow() — Method in classCarbonImmutable
Add one month to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addDays() — Method in classCarbonImmutable
Add days (the $value count passed in) to the instance (using date interval).
CarbonImmutable::addDay() — Method in classCarbonImmutable
Add one day to the instance (using date interval).
CarbonImmutable::addHours() — Method in classCarbonImmutable
Add hours (the $value count passed in) to the instance (using date interval).
CarbonImmutable::addHour() — Method in classCarbonImmutable
Add one hour to the instance (using date interval).
CarbonImmutable::addMinutes() — Method in classCarbonImmutable
Add minutes (the $value count passed in) to the instance (using date interval).
CarbonImmutable::addMinute() — Method in classCarbonImmutable
Add one minute to the instance (using date interval).
CarbonImmutable::addSeconds() — Method in classCarbonImmutable
Add seconds (the $value count passed in) to the instance (using date interval).
CarbonImmutable::addSecond() — Method in classCarbonImmutable
Add one second to the instance (using date interval).
CarbonImmutable::addMillis() — Method in classCarbonImmutable
Add milliseconds (the $value count passed in) to the instance (using date interval).
CarbonImmutable::addMilli() — Method in classCarbonImmutable
Add one millisecond to the instance (using date interval).
CarbonImmutable::addMilliseconds() — Method in classCarbonImmutable
Add milliseconds (the $value count passed in) to the instance (using date interval).
CarbonImmutable::addMillisecond() — Method in classCarbonImmutable
Add one millisecond to the instance (using date interval).
CarbonImmutable::addMicros() — Method in classCarbonImmutable
Add microseconds (the $value count passed in) to the instance (using date interval).
CarbonImmutable::addMicro() — Method in classCarbonImmutable
Add one microsecond to the instance (using date interval).
CarbonImmutable::addMicroseconds() — Method in classCarbonImmutable
Add microseconds (the $value count passed in) to the instance (using date interval).
CarbonImmutable::addMicrosecond() — Method in classCarbonImmutable
Add one microsecond to the instance (using date interval).
CarbonImmutable::addMillennia() — Method in classCarbonImmutable
Add millennia (the $value count passed in) to the instance (using date interval).
CarbonImmutable::addMillennium() — Method in classCarbonImmutable
Add one millennium to the instance (using date interval).
CarbonImmutable::addMillenniaWithOverflow() — Method in classCarbonImmutable
Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::addMillenniumWithOverflow() — Method in classCarbonImmutable
Add one millennium to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::addMillenniaWithoutOverflow() — Method in classCarbonImmutable
Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addMillenniumWithoutOverflow() — Method in classCarbonImmutable
Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addMillenniaWithNoOverflow() — Method in classCarbonImmutable
Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addMillenniumWithNoOverflow() — Method in classCarbonImmutable
Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addMillenniaNoOverflow() — Method in classCarbonImmutable
Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addMillenniumNoOverflow() — Method in classCarbonImmutable
Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addCenturies() — Method in classCarbonImmutable
Add centuries (the $value count passed in) to the instance (using date interval).
CarbonImmutable::addCentury() — Method in classCarbonImmutable
Add one century to the instance (using date interval).
CarbonImmutable::addCenturiesWithOverflow() — Method in classCarbonImmutable
Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::addCenturyWithOverflow() — Method in classCarbonImmutable
Add one century to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::addCenturiesWithoutOverflow() — Method in classCarbonImmutable
Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addCenturyWithoutOverflow() — Method in classCarbonImmutable
Add one century to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addCenturiesWithNoOverflow() — Method in classCarbonImmutable
Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addCenturyWithNoOverflow() — Method in classCarbonImmutable
Add one century to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addCenturiesNoOverflow() — Method in classCarbonImmutable
Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addCenturyNoOverflow() — Method in classCarbonImmutable
Add one century to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addDecades() — Method in classCarbonImmutable
Add decades (the $value count passed in) to the instance (using date interval).
CarbonImmutable::addDecade() — Method in classCarbonImmutable
Add one decade to the instance (using date interval).
CarbonImmutable::addDecadesWithOverflow() — Method in classCarbonImmutable
Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::addDecadeWithOverflow() — Method in classCarbonImmutable
Add one decade to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::addDecadesWithoutOverflow() — Method in classCarbonImmutable
Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addDecadeWithoutOverflow() — Method in classCarbonImmutable
Add one decade to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addDecadesWithNoOverflow() — Method in classCarbonImmutable
Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addDecadeWithNoOverflow() — Method in classCarbonImmutable
Add one decade to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addDecadesNoOverflow() — Method in classCarbonImmutable
Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addDecadeNoOverflow() — Method in classCarbonImmutable
Add one decade to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addQuarters() — Method in classCarbonImmutable
Add quarters (the $value count passed in) to the instance (using date interval).
CarbonImmutable::addQuarter() — Method in classCarbonImmutable
Add one quarter to the instance (using date interval).
CarbonImmutable::addQuartersWithOverflow() — Method in classCarbonImmutable
Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::addQuarterWithOverflow() — Method in classCarbonImmutable
Add one quarter to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::addQuartersWithoutOverflow() — Method in classCarbonImmutable
Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addQuarterWithoutOverflow() — Method in classCarbonImmutable
Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addQuartersWithNoOverflow() — Method in classCarbonImmutable
Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addQuarterWithNoOverflow() — Method in classCarbonImmutable
Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addQuartersNoOverflow() — Method in classCarbonImmutable
Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addQuarterNoOverflow() — Method in classCarbonImmutable
Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::addWeeks() — Method in classCarbonImmutable
Add weeks (the $value count passed in) to the instance (using date interval).
CarbonImmutable::addWeek() — Method in classCarbonImmutable
Add one week to the instance (using date interval).
CarbonImmutable::addWeekdays() — Method in classCarbonImmutable
Add weekdays (the $value count passed in) to the instance (using date interval).
CarbonImmutable::addWeekday() — Method in classCarbonImmutable
Add one weekday to the instance (using date interval).
CarbonImmutable::addRealMicros() — Method in classCarbonImmutable
Add microseconds (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::addRealMicro() — Method in classCarbonImmutable
Add one microsecond to the instance (using timestamp).
CarbonImmutable::addRealMicroseconds() — Method in classCarbonImmutable
Add microseconds (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::addRealMicrosecond() — Method in classCarbonImmutable
Add one microsecond to the instance (using timestamp).
CarbonImmutable::addRealMillis() — Method in classCarbonImmutable
Add milliseconds (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::addRealMilli() — Method in classCarbonImmutable
Add one millisecond to the instance (using timestamp).
CarbonImmutable::addRealMilliseconds() — Method in classCarbonImmutable
Add milliseconds (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::addRealMillisecond() — Method in classCarbonImmutable
Add one millisecond to the instance (using timestamp).
CarbonImmutable::addRealSeconds() — Method in classCarbonImmutable
Add seconds (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::addRealSecond() — Method in classCarbonImmutable
Add one second to the instance (using timestamp).
CarbonImmutable::addRealMinutes() — Method in classCarbonImmutable
Add minutes (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::addRealMinute() — Method in classCarbonImmutable
Add one minute to the instance (using timestamp).
CarbonImmutable::addRealHours() — Method in classCarbonImmutable
Add hours (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::addRealHour() — Method in classCarbonImmutable
Add one hour to the instance (using timestamp).
CarbonImmutable::addRealDays() — Method in classCarbonImmutable
Add days (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::addRealDay() — Method in classCarbonImmutable
Add one day to the instance (using timestamp).
CarbonImmutable::addRealWeeks() — Method in classCarbonImmutable
Add weeks (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::addRealWeek() — Method in classCarbonImmutable
Add one week to the instance (using timestamp).
CarbonImmutable::addRealMonths() — Method in classCarbonImmutable
Add months (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::addRealMonth() — Method in classCarbonImmutable
Add one month to the instance (using timestamp).
CarbonImmutable::addRealQuarters() — Method in classCarbonImmutable
Add quarters (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::addRealQuarter() — Method in classCarbonImmutable
Add one quarter to the instance (using timestamp).
CarbonImmutable::addRealYears() — Method in classCarbonImmutable
Add years (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::addRealYear() — Method in classCarbonImmutable
Add one year to the instance (using timestamp).
CarbonImmutable::addRealDecades() — Method in classCarbonImmutable
Add decades (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::addRealDecade() — Method in classCarbonImmutable
Add one decade to the instance (using timestamp).
CarbonImmutable::addRealCenturies() — Method in classCarbonImmutable
Add centuries (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::addRealCentury() — Method in classCarbonImmutable
Add one century to the instance (using timestamp).
CarbonImmutable::addRealMillennia() — Method in classCarbonImmutable
Add millennia (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::addRealMillennium() — Method in classCarbonImmutable
Add one millennium to the instance (using timestamp).
$CarbonInterface#ageProperty in classCarbonInterface
does a diffInYears() with default parameters
CarbonInterface::add() — Method in classCarbonInterface
CarbonInterface::addRealUnit() — Method in classCarbonInterface
Add seconds to the instance using timestamp. Positive $value travels forward while negative $value travels into the past.
CarbonInterface::addUnit() — Method in classCarbonInterface
Add given units to the current instance.
CarbonInterface::addUnitNoOverflow() — Method in classCarbonInterface
Add any unit to a new value without overflowing current other unit given.
CarbonInterface::ago() — Method in classCarbonInterface
Get the difference in a human readable format in the current locale from an other instance given to now
CarbonInterface::average() — Method in classCarbonInterface
Modify the current instance to the average of a given instance (default now) and the current instance (second-precision).
CarbonInterface::avoidMutation() — Method in classCarbonInterface
Clone the current instance if it's mutable.
CarbonInterface::addYears() — Method in classCarbonInterface
Add years (the $value count passed in) to the instance (using date interval).
CarbonInterface::addYear() — Method in classCarbonInterface
Add one year to the instance (using date interval).
CarbonInterface::addYearsWithOverflow() — Method in classCarbonInterface
Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::addYearWithOverflow() — Method in classCarbonInterface
Add one year to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::addYearsWithoutOverflow() — Method in classCarbonInterface
Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addYearWithoutOverflow() — Method in classCarbonInterface
Add one year to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addYearsWithNoOverflow() — Method in classCarbonInterface
Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addYearWithNoOverflow() — Method in classCarbonInterface
Add one year to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addYearsNoOverflow() — Method in classCarbonInterface
Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addYearNoOverflow() — Method in classCarbonInterface
Add one year to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addMonths() — Method in classCarbonInterface
Add months (the $value count passed in) to the instance (using date interval).
CarbonInterface::addMonth() — Method in classCarbonInterface
Add one month to the instance (using date interval).
CarbonInterface::addMonthsWithOverflow() — Method in classCarbonInterface
Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::addMonthWithOverflow() — Method in classCarbonInterface
Add one month to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::addMonthsWithoutOverflow() — Method in classCarbonInterface
Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addMonthWithoutOverflow() — Method in classCarbonInterface
Add one month to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addMonthsWithNoOverflow() — Method in classCarbonInterface
Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addMonthWithNoOverflow() — Method in classCarbonInterface
Add one month to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addMonthsNoOverflow() — Method in classCarbonInterface
Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addMonthNoOverflow() — Method in classCarbonInterface
Add one month to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addDays() — Method in classCarbonInterface
Add days (the $value count passed in) to the instance (using date interval).
CarbonInterface::addDay() — Method in classCarbonInterface
Add one day to the instance (using date interval).
CarbonInterface::addHours() — Method in classCarbonInterface
Add hours (the $value count passed in) to the instance (using date interval).
CarbonInterface::addHour() — Method in classCarbonInterface
Add one hour to the instance (using date interval).
CarbonInterface::addMinutes() — Method in classCarbonInterface
Add minutes (the $value count passed in) to the instance (using date interval).
CarbonInterface::addMinute() — Method in classCarbonInterface
Add one minute to the instance (using date interval).
CarbonInterface::addSeconds() — Method in classCarbonInterface
Add seconds (the $value count passed in) to the instance (using date interval).
CarbonInterface::addSecond() — Method in classCarbonInterface
Add one second to the instance (using date interval).
CarbonInterface::addMillis() — Method in classCarbonInterface
Add milliseconds (the $value count passed in) to the instance (using date interval).
CarbonInterface::addMilli() — Method in classCarbonInterface
Add one millisecond to the instance (using date interval).
CarbonInterface::addMilliseconds() — Method in classCarbonInterface
Add milliseconds (the $value count passed in) to the instance (using date interval).
CarbonInterface::addMillisecond() — Method in classCarbonInterface
Add one millisecond to the instance (using date interval).
CarbonInterface::addMicros() — Method in classCarbonInterface
Add microseconds (the $value count passed in) to the instance (using date interval).
CarbonInterface::addMicro() — Method in classCarbonInterface
Add one microsecond to the instance (using date interval).
CarbonInterface::addMicroseconds() — Method in classCarbonInterface
Add microseconds (the $value count passed in) to the instance (using date interval).
CarbonInterface::addMicrosecond() — Method in classCarbonInterface
Add one microsecond to the instance (using date interval).
CarbonInterface::addMillennia() — Method in classCarbonInterface
Add millennia (the $value count passed in) to the instance (using date interval).
CarbonInterface::addMillennium() — Method in classCarbonInterface
Add one millennium to the instance (using date interval).
CarbonInterface::addMillenniaWithOverflow() — Method in classCarbonInterface
Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::addMillenniumWithOverflow() — Method in classCarbonInterface
Add one millennium to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::addMillenniaWithoutOverflow() — Method in classCarbonInterface
Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addMillenniumWithoutOverflow() — Method in classCarbonInterface
Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addMillenniaWithNoOverflow() — Method in classCarbonInterface
Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addMillenniumWithNoOverflow() — Method in classCarbonInterface
Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addMillenniaNoOverflow() — Method in classCarbonInterface
Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addMillenniumNoOverflow() — Method in classCarbonInterface
Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addCenturies() — Method in classCarbonInterface
Add centuries (the $value count passed in) to the instance (using date interval).
CarbonInterface::addCentury() — Method in classCarbonInterface
Add one century to the instance (using date interval).
CarbonInterface::addCenturiesWithOverflow() — Method in classCarbonInterface
Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::addCenturyWithOverflow() — Method in classCarbonInterface
Add one century to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::addCenturiesWithoutOverflow() — Method in classCarbonInterface
Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addCenturyWithoutOverflow() — Method in classCarbonInterface
Add one century to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addCenturiesWithNoOverflow() — Method in classCarbonInterface
Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addCenturyWithNoOverflow() — Method in classCarbonInterface
Add one century to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addCenturiesNoOverflow() — Method in classCarbonInterface
Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addCenturyNoOverflow() — Method in classCarbonInterface
Add one century to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addDecades() — Method in classCarbonInterface
Add decades (the $value count passed in) to the instance (using date interval).
CarbonInterface::addDecade() — Method in classCarbonInterface
Add one decade to the instance (using date interval).
CarbonInterface::addDecadesWithOverflow() — Method in classCarbonInterface
Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::addDecadeWithOverflow() — Method in classCarbonInterface
Add one decade to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::addDecadesWithoutOverflow() — Method in classCarbonInterface
Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addDecadeWithoutOverflow() — Method in classCarbonInterface
Add one decade to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addDecadesWithNoOverflow() — Method in classCarbonInterface
Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addDecadeWithNoOverflow() — Method in classCarbonInterface
Add one decade to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addDecadesNoOverflow() — Method in classCarbonInterface
Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addDecadeNoOverflow() — Method in classCarbonInterface
Add one decade to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addQuarters() — Method in classCarbonInterface
Add quarters (the $value count passed in) to the instance (using date interval).
CarbonInterface::addQuarter() — Method in classCarbonInterface
Add one quarter to the instance (using date interval).
CarbonInterface::addQuartersWithOverflow() — Method in classCarbonInterface
Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::addQuarterWithOverflow() — Method in classCarbonInterface
Add one quarter to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::addQuartersWithoutOverflow() — Method in classCarbonInterface
Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addQuarterWithoutOverflow() — Method in classCarbonInterface
Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addQuartersWithNoOverflow() — Method in classCarbonInterface
Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addQuarterWithNoOverflow() — Method in classCarbonInterface
Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addQuartersNoOverflow() — Method in classCarbonInterface
Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addQuarterNoOverflow() — Method in classCarbonInterface
Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::addWeeks() — Method in classCarbonInterface
Add weeks (the $value count passed in) to the instance (using date interval).
CarbonInterface::addWeek() — Method in classCarbonInterface
Add one week to the instance (using date interval).
CarbonInterface::addWeekdays() — Method in classCarbonInterface
Add weekdays (the $value count passed in) to the instance (using date interval).
CarbonInterface::addWeekday() — Method in classCarbonInterface
Add one weekday to the instance (using date interval).
CarbonInterface::addRealMicros() — Method in classCarbonInterface
Add microseconds (the $value count passed in) to the instance (using timestamp).
CarbonInterface::addRealMicro() — Method in classCarbonInterface
Add one microsecond to the instance (using timestamp).
CarbonInterface::addRealMicroseconds() — Method in classCarbonInterface
Add microseconds (the $value count passed in) to the instance (using timestamp).
CarbonInterface::addRealMicrosecond() — Method in classCarbonInterface
Add one microsecond to the instance (using timestamp).
CarbonInterface::addRealMillis() — Method in classCarbonInterface
Add milliseconds (the $value count passed in) to the instance (using timestamp).
CarbonInterface::addRealMilli() — Method in classCarbonInterface
Add one millisecond to the instance (using timestamp).
CarbonInterface::addRealMilliseconds() — Method in classCarbonInterface
Add milliseconds (the $value count passed in) to the instance (using timestamp).
CarbonInterface::addRealMillisecond() — Method in classCarbonInterface
Add one millisecond to the instance (using timestamp).
CarbonInterface::addRealSeconds() — Method in classCarbonInterface
Add seconds (the $value count passed in) to the instance (using timestamp).
CarbonInterface::addRealSecond() — Method in classCarbonInterface
Add one second to the instance (using timestamp).
CarbonInterface::addRealMinutes() — Method in classCarbonInterface
Add minutes (the $value count passed in) to the instance (using timestamp).
CarbonInterface::addRealMinute() — Method in classCarbonInterface
Add one minute to the instance (using timestamp).
CarbonInterface::addRealHours() — Method in classCarbonInterface
Add hours (the $value count passed in) to the instance (using timestamp).
CarbonInterface::addRealHour() — Method in classCarbonInterface
Add one hour to the instance (using timestamp).
CarbonInterface::addRealDays() — Method in classCarbonInterface
Add days (the $value count passed in) to the instance (using timestamp).
CarbonInterface::addRealDay() — Method in classCarbonInterface
Add one day to the instance (using timestamp).
CarbonInterface::addRealWeeks() — Method in classCarbonInterface
Add weeks (the $value count passed in) to the instance (using timestamp).
CarbonInterface::addRealWeek() — Method in classCarbonInterface
Add one week to the instance (using timestamp).
CarbonInterface::addRealMonths() — Method in classCarbonInterface
Add months (the $value count passed in) to the instance (using timestamp).
CarbonInterface::addRealMonth() — Method in classCarbonInterface
Add one month to the instance (using timestamp).
CarbonInterface::addRealQuarters() — Method in classCarbonInterface
Add quarters (the $value count passed in) to the instance (using timestamp).
CarbonInterface::addRealQuarter() — Method in classCarbonInterface
Add one quarter to the instance (using timestamp).
CarbonInterface::addRealYears() — Method in classCarbonInterface
Add years (the $value count passed in) to the instance (using timestamp).
CarbonInterface::addRealYear() — Method in classCarbonInterface
Add one year to the instance (using timestamp).
CarbonInterface::addRealDecades() — Method in classCarbonInterface
Add decades (the $value count passed in) to the instance (using timestamp).
CarbonInterface::addRealDecade() — Method in classCarbonInterface
Add one decade to the instance (using timestamp).
CarbonInterface::addRealCenturies() — Method in classCarbonInterface
Add centuries (the $value count passed in) to the instance (using timestamp).
CarbonInterface::addRealCentury() — Method in classCarbonInterface
Add one century to the instance (using timestamp).
CarbonInterface::addRealMillennia() — Method in classCarbonInterface
Add millennia (the $value count passed in) to the instance (using timestamp).
CarbonInterface::addRealMillennium() — Method in classCarbonInterface
Add one millennium to the instance (using timestamp).
CarbonInterval::add() — Method in classCarbonInterval
Add the passed interval to the current instance.
CarbonPeriod::addMissingParts() — Method in classCarbonPeriod
Add missing parts of the target date from the soure date.
CarbonPeriod::addFilter() — Method in classCarbonPeriod
Add a filter to the stack.
$ParseErrorException#actualProperty in classParseErrorException
The actual.
Language::all() — Method in classLanguage
Get the list of the known languages.
$ServiceProvider#appGetterProperty in classServiceProvider
AbstractMacroClass in namespaceCarbon\PHPStan
$Date#ageProperty in classDate
does a diffInYears() with default parameters
Date::avoidMutation() — Method in classDate
Clone the current instance if it's mutable.
Date::addUnitNoOverflow() — Method in classDate
Add any unit to a new value without overflowing current other unit given.
Date::addYears() — Method in classDate
Add years (the $value count passed in) to the instance (using date interval).
Date::addYear() — Method in classDate
Add one year to the instance (using date interval).
Date::addYearsWithOverflow() — Method in classDate
Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Date::addYearWithOverflow() — Method in classDate
Add one year to the instance (using date interval) with overflow explicitly allowed.
Date::addYearsWithoutOverflow() — Method in classDate
Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::addYearWithoutOverflow() — Method in classDate
Add one year to the instance (using date interval) with overflow explicitly forbidden.
Date::addYearsWithNoOverflow() — Method in classDate
Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::addYearWithNoOverflow() — Method in classDate
Add one year to the instance (using date interval) with overflow explicitly forbidden.
Date::addYearsNoOverflow() — Method in classDate
Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::addYearNoOverflow() — Method in classDate
Add one year to the instance (using date interval) with overflow explicitly forbidden.
Date::addMonths() — Method in classDate
Add months (the $value count passed in) to the instance (using date interval).
Date::addMonth() — Method in classDate
Add one month to the instance (using date interval).
Date::addMonthsWithOverflow() — Method in classDate
Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Date::addMonthWithOverflow() — Method in classDate
Add one month to the instance (using date interval) with overflow explicitly allowed.
Date::addMonthsWithoutOverflow() — Method in classDate
Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::addMonthWithoutOverflow() — Method in classDate
Add one month to the instance (using date interval) with overflow explicitly forbidden.
Date::addMonthsWithNoOverflow() — Method in classDate
Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::addMonthWithNoOverflow() — Method in classDate
Add one month to the instance (using date interval) with overflow explicitly forbidden.
Date::addMonthsNoOverflow() — Method in classDate
Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::addMonthNoOverflow() — Method in classDate
Add one month to the instance (using date interval) with overflow explicitly forbidden.
Date::addDays() — Method in classDate
Add days (the $value count passed in) to the instance (using date interval).
Date::addDay() — Method in classDate
Add one day to the instance (using date interval).
Date::addHours() — Method in classDate
Add hours (the $value count passed in) to the instance (using date interval).
Date::addHour() — Method in classDate
Add one hour to the instance (using date interval).
Date::addMinutes() — Method in classDate
Add minutes (the $value count passed in) to the instance (using date interval).
Date::addMinute() — Method in classDate
Add one minute to the instance (using date interval).
Date::addSeconds() — Method in classDate
Add seconds (the $value count passed in) to the instance (using date interval).
Date::addSecond() — Method in classDate
Add one second to the instance (using date interval).
Date::addMillis() — Method in classDate
Add milliseconds (the $value count passed in) to the instance (using date interval).
Date::addMilli() — Method in classDate
Add one millisecond to the instance (using date interval).
Date::addMilliseconds() — Method in classDate
Add milliseconds (the $value count passed in) to the instance (using date interval).
Date::addMillisecond() — Method in classDate
Add one millisecond to the instance (using date interval).
Date::addMicros() — Method in classDate
Add microseconds (the $value count passed in) to the instance (using date interval).
Date::addMicro() — Method in classDate
Add one microsecond to the instance (using date interval).
Date::addMicroseconds() — Method in classDate
Add microseconds (the $value count passed in) to the instance (using date interval).
Date::addMicrosecond() — Method in classDate
Add one microsecond to the instance (using date interval).
Date::addMillennia() — Method in classDate
Add millennia (the $value count passed in) to the instance (using date interval).
Date::addMillennium() — Method in classDate
Add one millennium to the instance (using date interval).
Date::addMillenniaWithOverflow() — Method in classDate
Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Date::addMillenniumWithOverflow() — Method in classDate
Add one millennium to the instance (using date interval) with overflow explicitly allowed.
Date::addMillenniaWithoutOverflow() — Method in classDate
Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::addMillenniumWithoutOverflow() — Method in classDate
Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
Date::addMillenniaWithNoOverflow() — Method in classDate
Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::addMillenniumWithNoOverflow() — Method in classDate
Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
Date::addMillenniaNoOverflow() — Method in classDate
Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::addMillenniumNoOverflow() — Method in classDate
Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
Date::addCenturies() — Method in classDate
Add centuries (the $value count passed in) to the instance (using date interval).
Date::addCentury() — Method in classDate
Add one century to the instance (using date interval).
Date::addCenturiesWithOverflow() — Method in classDate
Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Date::addCenturyWithOverflow() — Method in classDate
Add one century to the instance (using date interval) with overflow explicitly allowed.
Date::addCenturiesWithoutOverflow() — Method in classDate
Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::addCenturyWithoutOverflow() — Method in classDate
Add one century to the instance (using date interval) with overflow explicitly forbidden.
Date::addCenturiesWithNoOverflow() — Method in classDate
Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::addCenturyWithNoOverflow() — Method in classDate
Add one century to the instance (using date interval) with overflow explicitly forbidden.
Date::addCenturiesNoOverflow() — Method in classDate
Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::addCenturyNoOverflow() — Method in classDate
Add one century to the instance (using date interval) with overflow explicitly forbidden.
Date::addDecades() — Method in classDate
Add decades (the $value count passed in) to the instance (using date interval).
Date::addDecade() — Method in classDate
Add one decade to the instance (using date interval).
Date::addDecadesWithOverflow() — Method in classDate
Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Date::addDecadeWithOverflow() — Method in classDate
Add one decade to the instance (using date interval) with overflow explicitly allowed.
Date::addDecadesWithoutOverflow() — Method in classDate
Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::addDecadeWithoutOverflow() — Method in classDate
Add one decade to the instance (using date interval) with overflow explicitly forbidden.
Date::addDecadesWithNoOverflow() — Method in classDate
Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::addDecadeWithNoOverflow() — Method in classDate
Add one decade to the instance (using date interval) with overflow explicitly forbidden.
Date::addDecadesNoOverflow() — Method in classDate
Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::addDecadeNoOverflow() — Method in classDate
Add one decade to the instance (using date interval) with overflow explicitly forbidden.
Date::addQuarters() — Method in classDate
Add quarters (the $value count passed in) to the instance (using date interval).
Date::addQuarter() — Method in classDate
Add one quarter to the instance (using date interval).
Date::addQuartersWithOverflow() — Method in classDate
Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Date::addQuarterWithOverflow() — Method in classDate
Add one quarter to the instance (using date interval) with overflow explicitly allowed.
Date::addQuartersWithoutOverflow() — Method in classDate
Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::addQuarterWithoutOverflow() — Method in classDate
Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
Date::addQuartersWithNoOverflow() — Method in classDate
Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::addQuarterWithNoOverflow() — Method in classDate
Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
Date::addQuartersNoOverflow() — Method in classDate
Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::addQuarterNoOverflow() — Method in classDate
Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
Date::addWeeks() — Method in classDate
Add weeks (the $value count passed in) to the instance (using date interval).
Date::addWeek() — Method in classDate
Add one week to the instance (using date interval).
Date::addWeekdays() — Method in classDate
Add weekdays (the $value count passed in) to the instance (using date interval).
Date::addWeekday() — Method in classDate
Add one weekday to the instance (using date interval).
Date::addRealMicros() — Method in classDate
Add microseconds (the $value count passed in) to the instance (using timestamp).
Date::addRealMicro() — Method in classDate
Add one microsecond to the instance (using timestamp).
Date::addRealMicroseconds() — Method in classDate
Add microseconds (the $value count passed in) to the instance (using timestamp).
Date::addRealMicrosecond() — Method in classDate
Add one microsecond to the instance (using timestamp).
Date::addRealMillis() — Method in classDate
Add milliseconds (the $value count passed in) to the instance (using timestamp).
Date::addRealMilli() — Method in classDate
Add one millisecond to the instance (using timestamp).
Date::addRealMilliseconds() — Method in classDate
Add milliseconds (the $value count passed in) to the instance (using timestamp).
Date::addRealMillisecond() — Method in classDate
Add one millisecond to the instance (using timestamp).
Date::addRealSeconds() — Method in classDate
Add seconds (the $value count passed in) to the instance (using timestamp).
Date::addRealSecond() — Method in classDate
Add one second to the instance (using timestamp).
Date::addRealMinutes() — Method in classDate
Add minutes (the $value count passed in) to the instance (using timestamp).
Date::addRealMinute() — Method in classDate
Add one minute to the instance (using timestamp).
Date::addRealHours() — Method in classDate
Add hours (the $value count passed in) to the instance (using timestamp).
Date::addRealHour() — Method in classDate
Add one hour to the instance (using timestamp).
Date::addRealDays() — Method in classDate
Add days (the $value count passed in) to the instance (using timestamp).
Date::addRealDay() — Method in classDate
Add one day to the instance (using timestamp).
Date::addRealWeeks() — Method in classDate
Add weeks (the $value count passed in) to the instance (using timestamp).
Date::addRealWeek() — Method in classDate
Add one week to the instance (using timestamp).
Date::addRealMonths() — Method in classDate
Add months (the $value count passed in) to the instance (using timestamp).
Date::addRealMonth() — Method in classDate
Add one month to the instance (using timestamp).
Date::addRealQuarters() — Method in classDate
Add quarters (the $value count passed in) to the instance (using timestamp).
Date::addRealQuarter() — Method in classDate
Add one quarter to the instance (using timestamp).
Date::addRealYears() — Method in classDate
Add years (the $value count passed in) to the instance (using timestamp).
Date::addRealYear() — Method in classDate
Add one year to the instance (using timestamp).
Date::addRealDecades() — Method in classDate
Add decades (the $value count passed in) to the instance (using timestamp).
Date::addRealDecade() — Method in classDate
Add one decade to the instance (using timestamp).
Date::addRealCenturies() — Method in classDate
Add centuries (the $value count passed in) to the instance (using timestamp).
Date::addRealCentury() — Method in classDate
Add one century to the instance (using timestamp).
Date::addRealMillennia() — Method in classDate
Add millennia (the $value count passed in) to the instance (using timestamp).
Date::addRealMillennium() — Method in classDate
Add one millennium to the instance (using timestamp).
Difference::ago() — Method in classDifference
Get the difference in a human readable format in the current locale from an other instance given to now
Modifiers::average() — Method in classModifiers
Modify the current instance to the average of a given instance (default now) and the current instance (second-precision).
Options::addExtraDebugInfos() — Method in classOptions
Units::addRealUnit() — Method in classUnits
Add seconds to the instance using timestamp. Positive $value travels forward while negative $value travels into the past.
Units::add() — Method in classUnits
Units::addUnit() — Method in classUnits
Add given units to the current instance.
Week::addWeeks() — Method in classWeek

B

CarbonInterface::between() — Method in classCarbonInterface
Determines if the instance is between two others.
CarbonInterface::betweenExcluded() — Method in classCarbonInterface
Determines if the instance is between two others, bounds excluded.
CarbonInterface::betweenIncluded() — Method in classCarbonInterface
Determines if the instance is between two others, bounds included.
CarbonInterval::between() — Method in classCarbonInterval
Determines if the instance is between two others.
CarbonInterval::betweenIncluded() — Method in classCarbonInterval
Determines if the instance is between two others, bounds excluded.
CarbonInterval::betweenExcluded() — Method in classCarbonInterval
Determines if the instance is between two others, bounds excluded.
BadComparisonUnitExceptionClass in namespaceCarbon\Exceptions
BadFluentConstructorExceptionClass in namespaceCarbon\Exceptions
BadFluentSetterExceptionClass in namespaceCarbon\Exceptions
BadMethodCallExceptionClass in namespaceCarbon\Exceptions
ServiceProvider::boot() — Method in classServiceProvider
BoundariesClass in namespaceCarbon\Traits
Trait Boundaries.
Comparison::between() — Method in classComparison
Determines if the instance is between two others.
Comparison::betweenIncluded() — Method in classComparison
Determines if the instance is between two others, bounds included.
Comparison::betweenExcluded() — Method in classComparison
Determines if the instance is between two others, bounds excluded.
Mixin::bindMacroContext() — Method in classMixin
Stack a Carbon context from inside calls of self::this() and execute a given action.

C

CarbonClass in namespaceCarbon
A simple API extension for DateTime.
Carbon::centuriesUntil() — Method in classCarbon
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.
CarbonConverterInterfaceClass in namespaceCarbon
CarbonConverterInterface::convertDate() — Method in classCarbonConverterInterface
CarbonImmutableClass in namespaceCarbon
A simple API extension for DateTimeImmutable.
CarbonImmutable::centuriesUntil() — Method in classCarbonImmutable
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.
CarbonImmutable::ceilYear() — Method in classCarbonImmutable
Ceil the current instance year with given precision.
CarbonImmutable::ceilYears() — Method in classCarbonImmutable
Ceil the current instance year with given precision.
CarbonImmutable::ceilMonth() — Method in classCarbonImmutable
Ceil the current instance month with given precision.
CarbonImmutable::ceilMonths() — Method in classCarbonImmutable
Ceil the current instance month with given precision.
CarbonImmutable::ceilDay() — Method in classCarbonImmutable
Ceil the current instance day with given precision.
CarbonImmutable::ceilDays() — Method in classCarbonImmutable
Ceil the current instance day with given precision.
CarbonImmutable::ceilHour() — Method in classCarbonImmutable
Ceil the current instance hour with given precision.
CarbonImmutable::ceilHours() — Method in classCarbonImmutable
Ceil the current instance hour with given precision.
CarbonImmutable::ceilMinute() — Method in classCarbonImmutable
Ceil the current instance minute with given precision.
CarbonImmutable::ceilMinutes() — Method in classCarbonImmutable
Ceil the current instance minute with given precision.
CarbonImmutable::ceilSecond() — Method in classCarbonImmutable
Ceil the current instance second with given precision.
CarbonImmutable::ceilSeconds() — Method in classCarbonImmutable
Ceil the current instance second with given precision.
CarbonImmutable::ceilMillennium() — Method in classCarbonImmutable
Ceil the current instance millennium with given precision.
CarbonImmutable::ceilMillennia() — Method in classCarbonImmutable
Ceil the current instance millennium with given precision.
CarbonImmutable::ceilCentury() — Method in classCarbonImmutable
Ceil the current instance century with given precision.
CarbonImmutable::ceilCenturies() — Method in classCarbonImmutable
Ceil the current instance century with given precision.
CarbonImmutable::ceilDecade() — Method in classCarbonImmutable
Ceil the current instance decade with given precision.
CarbonImmutable::ceilDecades() — Method in classCarbonImmutable
Ceil the current instance decade with given precision.
CarbonImmutable::ceilQuarter() — Method in classCarbonImmutable
Ceil the current instance quarter with given precision.
CarbonImmutable::ceilQuarters() — Method in classCarbonImmutable
Ceil the current instance quarter with given precision.
CarbonImmutable::ceilMillisecond() — Method in classCarbonImmutable
Ceil the current instance millisecond with given precision.
CarbonImmutable::ceilMilliseconds() — Method in classCarbonImmutable
Ceil the current instance millisecond with given precision.
CarbonImmutable::ceilMicrosecond() — Method in classCarbonImmutable
Ceil the current instance microsecond with given precision.
CarbonImmutable::ceilMicroseconds() — Method in classCarbonImmutable
Ceil the current instance microsecond with given precision.
CarbonInterfaceClass in namespaceCarbon
Common interface for Carbon and CarbonImmutable.
CarbonInterface::calendar() — Method in classCarbonInterface
Returns either day of week + time (e.g. "Last Friday at 3:30 PM") if reference time is within 7 days, or a calendar date (e.g. "10/29/2017") otherwise.
CarbonInterface::canBeCreatedFromFormat() — Method in classCarbonInterface
Checks if the (date)time string is in a given format and valid to create a new instance.
CarbonInterface::carbonize() — Method in classCarbonInterface
Return the Carbon instance passed through, a now instance in the same timezone if null given or parse the input if string given.
CarbonInterface::cast() — Method in classCarbonInterface
Cast the current instance into the given class.
CarbonInterface::ceil() — Method in classCarbonInterface
Ceil the current instance second with given precision if specified.
CarbonInterface::ceilUnit() — Method in classCarbonInterface
Ceil the current instance at the given unit with given precision if specified.
CarbonInterface::ceilWeek() — Method in classCarbonInterface
Ceil the current instance week.
CarbonInterface::change() — Method in classCarbonInterface
Similar to native modify() method of DateTime but can handle more grammars.
CarbonInterface::cleanupDumpProperties() — Method in classCarbonInterface
Cleanup properties attached to the public scope of DateTime when a dump of the date is requested.
CarbonInterface::clone() — Method in classCarbonInterface
CarbonInterface::closest() — Method in classCarbonInterface
Get the closest date from the instance (second-precision).
CarbonInterface::copy() — Method in classCarbonInterface
Get a copy of the instance.
CarbonInterface::create() — Method in classCarbonInterface
Create a new Carbon instance from a specific date and time.
CarbonInterface::createFromDate() — Method in classCarbonInterface
Create a Carbon instance from just a date. The time portion is set to now.
CarbonInterface::createFromFormat() — Method in classCarbonInterface
CarbonInterface::createFromIsoFormat() — Method in classCarbonInterface
Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()).
CarbonInterface::createFromLocaleFormat() — Method in classCarbonInterface
Create a Carbon instance from a specific format and a string in a given language.
CarbonInterface::createFromLocaleIsoFormat() — Method in classCarbonInterface
Create a Carbon instance from a specific ISO format and a string in a given language.
CarbonInterface::createFromTime() — Method in classCarbonInterface
Create a Carbon instance from just a time. The date portion is set to today.
CarbonInterface::createFromTimeString() — Method in classCarbonInterface
Create a Carbon instance from a time string. The date portion is set to today.
CarbonInterface::createFromTimestamp() — Method in classCarbonInterface
Create a Carbon instance from a timestamp and set the timezone (use default one if not specified).
CarbonInterface::createFromTimestampMs() — Method in classCarbonInterface
Create a Carbon instance from a timestamp in milliseconds.
CarbonInterface::createFromTimestampMsUTC() — Method in classCarbonInterface
Create a Carbon instance from a timestamp in milliseconds.
CarbonInterface::createFromTimestampUTC() — Method in classCarbonInterface
Create a Carbon instance from an timestamp keeping the timezone to UTC.
CarbonInterface::createMidnightDate() — Method in classCarbonInterface
Create a Carbon instance from just a date. The time portion is set to midnight.
CarbonInterface::createSafe() — Method in classCarbonInterface
Create a new safe Carbon instance from a specific date and time.
CarbonInterface::createStrict() — Method in classCarbonInterface
Create a new Carbon instance from a specific date and time using strict validation.
CarbonInterface::centuriesUntil() — Method in classCarbonInterface
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.
CarbonInterface::ceilYear() — Method in classCarbonInterface
Ceil the current instance year with given precision.
CarbonInterface::ceilYears() — Method in classCarbonInterface
Ceil the current instance year with given precision.
CarbonInterface::ceilMonth() — Method in classCarbonInterface
Ceil the current instance month with given precision.
CarbonInterface::ceilMonths() — Method in classCarbonInterface
Ceil the current instance month with given precision.
CarbonInterface::ceilDay() — Method in classCarbonInterface
Ceil the current instance day with given precision.
CarbonInterface::ceilDays() — Method in classCarbonInterface
Ceil the current instance day with given precision.
CarbonInterface::ceilHour() — Method in classCarbonInterface
Ceil the current instance hour with given precision.
CarbonInterface::ceilHours() — Method in classCarbonInterface
Ceil the current instance hour with given precision.
CarbonInterface::ceilMinute() — Method in classCarbonInterface
Ceil the current instance minute with given precision.
CarbonInterface::ceilMinutes() — Method in classCarbonInterface
Ceil the current instance minute with given precision.
CarbonInterface::ceilSecond() — Method in classCarbonInterface
Ceil the current instance second with given precision.
CarbonInterface::ceilSeconds() — Method in classCarbonInterface
Ceil the current instance second with given precision.
CarbonInterface::ceilMillennium() — Method in classCarbonInterface
Ceil the current instance millennium with given precision.
CarbonInterface::ceilMillennia() — Method in classCarbonInterface
Ceil the current instance millennium with given precision.
CarbonInterface::ceilCentury() — Method in classCarbonInterface
Ceil the current instance century with given precision.
CarbonInterface::ceilCenturies() — Method in classCarbonInterface
Ceil the current instance century with given precision.
CarbonInterface::ceilDecade() — Method in classCarbonInterface
Ceil the current instance decade with given precision.
CarbonInterface::ceilDecades() — Method in classCarbonInterface
Ceil the current instance decade with given precision.
CarbonInterface::ceilQuarter() — Method in classCarbonInterface
Ceil the current instance quarter with given precision.
CarbonInterface::ceilQuarters() — Method in classCarbonInterface
Ceil the current instance quarter with given precision.
CarbonInterface::ceilMillisecond() — Method in classCarbonInterface
Ceil the current instance millisecond with given precision.
CarbonInterface::ceilMilliseconds() — Method in classCarbonInterface
Ceil the current instance millisecond with given precision.
CarbonInterface::ceilMicrosecond() — Method in classCarbonInterface
Ceil the current instance microsecond with given precision.
CarbonInterface::ceilMicroseconds() — Method in classCarbonInterface
Ceil the current instance microsecond with given precision.
CarbonIntervalClass in namespaceCarbon
A simple API extension for DateInterval.
$CarbonInterval#cascadeFactorsProperty in classCarbonInterval
CarbonInterval::create() — Method in classCarbonInterval
Create a new CarbonInterval instance from specific values.
CarbonInterval::createFromFormat() — Method in classCarbonInterval
Parse a string into a new CarbonInterval object according to the specified format.
CarbonInterval::copy() — Method in classCarbonInterval
Get a copy of the instance.
CarbonInterval::clone() — Method in classCarbonInterval
Get a copy of the instance.
CarbonInterval::cast() — Method in classCarbonInterval
Cast the current instance into the given class.
CarbonInterval::createFromDateString() — Method in classCarbonInterval
CarbonInterval::callMacro() — Method in classCarbonInterval
Call given macro.
CarbonInterval::copyProperties() — Method in classCarbonInterval
CarbonInterval::compareDateIntervals() — Method in classCarbonInterval
Comparing 2 date intervals.
CarbonInterval::compare() — Method in classCarbonInterval
Comparing with passed interval.
CarbonInterval::cascade() — Method in classCarbonInterval
Convert overflowed values into bigger units.
CarbonInterval::ceilUnit() — Method in classCarbonInterval
Ceil the current instance at the given unit with given precision if specified.
CarbonInterval::ceil() — Method in classCarbonInterval
Ceil the current instance second with given precision if specified.
CarbonPeriodClass in namespaceCarbon
Substitution of DatePeriod with some modifications and many more features.
$CarbonPeriod#currentProperty in classCarbonPeriod
Current date. May temporarily hold unaccepted value when looking for a next valid date.
CarbonPeriod::create() — Method in classCarbonPeriod
Create a new instance.
CarbonPeriod::createFromArray() — Method in classCarbonPeriod
Create a new instance from an array of parameters.
CarbonPeriod::createFromIso() — Method in classCarbonPeriod
Create CarbonPeriod from ISO 8601 string.
CarbonPeriod::copy() — Method in classCarbonPeriod
Get a copy of the instance.
CarbonPeriod::clone() — Method in classCarbonPeriod
CarbonPeriod::current() — Method in classCarbonPeriod
CarbonPeriod::cast() — Method in classCarbonPeriod
Cast the current instance into the given class.
CarbonPeriod::count() — Method in classCarbonPeriod
CarbonPeriod::calculateEnd() — Method in classCarbonPeriod
Returns the end is set, else calculated from start an recurrences.
CarbonPeriod::ceilUnit() — Method in classCarbonPeriod
Ceil the current instance at the given unit with given precision if specified.
CarbonPeriod::ceil() — Method in classCarbonPeriod
Ceil the current instance second with given precision if specified (else period interval is used).
CarbonPeriod::contains() — Method in classCarbonPeriod
Return true if the given date is between start and end.
CarbonPeriod::createFilterTuple() — Method in classCarbonPeriod
Create a filter tuple from raw parameters.
CarbonPeriod::checkFilters() — Method in classCarbonPeriod
Check whether current value and key pass all the filters.
CarbonPeriod::callMacro() — Method in classCarbonPeriod
Call given macro.
CarbonTimeZoneClass in namespaceCarbon
CarbonTimeZone::cast() — Method in classCarbonTimeZone
Cast the current instance into the given class.
CarbonTimeZone::create() — Method in classCarbonTimeZone
Create a CarbonTimeZone from mixed input.
CarbonTimeZone::createFromHourOffset() — Method in classCarbonTimeZone
Create a CarbonTimeZone from int/float hour offset.
CarbonTimeZone::createFromMinuteOffset() — Method in classCarbonTimeZone
Create a CarbonTimeZone from int/float minute offset.
CarbonDoctrineTypeClass in namespaceCarbon\Doctrine
CarbonDoctrineType::convertToPHPValue() — Method in classCarbonDoctrineType
CarbonDoctrineType::convertToDatabaseValue() — Method in classCarbonDoctrineType
CarbonImmutableTypeClass in namespaceCarbon\Doctrine
CarbonTypeClass in namespaceCarbon\Doctrine
CarbonTypeConverterClass in namespaceCarbon\Doctrine
CarbonTypeConverter::convertToPHPValue() — Method in classCarbonTypeConverter
CarbonTypeConverter::convertToDatabaseValue() — Method in classCarbonTypeConverter
$NotACarbonClassException#classNameProperty in classNotACarbonClassException
The className.
$Factory#classNameProperty in classFactory
Factory::className() — Method in classFactory
Factory::canBeCreatedFromFormat() — Method in classFactory
Checks if the (date)time string is in a given format and valid to create a
Factory::create() — Method in classFactory
Create a new Carbon instance from a specific date and time.
Factory::createFromDate() — Method in classFactory
Create a Carbon instance from just a date. The time portion is set to now.
Factory::createFromFormat() — Method in classFactory
Create a Carbon instance from a specific format.
Factory::createFromIsoFormat() — Method in classFactory
Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()).
Factory::createFromLocaleFormat() — Method in classFactory
Create a Carbon instance from a specific format and a string in a given language.
Factory::createFromLocaleIsoFormat() — Method in classFactory
Create a Carbon instance from a specific ISO format and a string in a given language.
Factory::createFromTime() — Method in classFactory
Create a Carbon instance from just a time. The date portion is set to today.
Factory::createFromTimeString() — Method in classFactory
Create a Carbon instance from a time string. The date portion is set to today.
Factory::createFromTimestamp() — Method in classFactory
Create a Carbon instance from a timestamp and set the timezone (use default one if not specified).
Factory::createFromTimestampMs() — Method in classFactory
Create a Carbon instance from a timestamp in milliseconds.
Factory::createFromTimestampMsUTC() — Method in classFactory
Create a Carbon instance from a timestamp in milliseconds.
Factory::createFromTimestampUTC() — Method in classFactory
Create a Carbon instance from an timestamp keeping the timezone to UTC.
Factory::createMidnightDate() — Method in classFactory
Create a Carbon instance from just a date. The time portion is set to midnight.
Factory::createSafe() — Method in classFactory
Create a new safe Carbon instance from a specific date and time.
Factory::createStrict() — Method in classFactory
Create a new Carbon instance from a specific date and time using strict validation.
$FactoryImmutable#classNameProperty in classFactoryImmutable
FactoryImmutable::canBeCreatedFromFormat() — Method in classFactoryImmutable
Checks if the (date)time string is in a given format and valid to create a
FactoryImmutable::create() — Method in classFactoryImmutable
Create a new Carbon instance from a specific date and time.
FactoryImmutable::createFromDate() — Method in classFactoryImmutable
Create a Carbon instance from just a date. The time portion is set to now.
FactoryImmutable::createFromFormat() — Method in classFactoryImmutable
Create a Carbon instance from a specific format.
FactoryImmutable::createFromIsoFormat() — Method in classFactoryImmutable
Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()).
FactoryImmutable::createFromLocaleFormat() — Method in classFactoryImmutable
Create a Carbon instance from a specific format and a string in a given language.
FactoryImmutable::createFromLocaleIsoFormat() — Method in classFactoryImmutable
Create a Carbon instance from a specific ISO format and a string in a given language.
FactoryImmutable::createFromTime() — Method in classFactoryImmutable
Create a Carbon instance from just a time. The date portion is set to today.
FactoryImmutable::createFromTimeString() — Method in classFactoryImmutable
Create a Carbon instance from a time string. The date portion is set to today.
FactoryImmutable::createFromTimestamp() — Method in classFactoryImmutable
Create a Carbon instance from a timestamp and set the timezone (use default one if not specified).
FactoryImmutable::createFromTimestampMs() — Method in classFactoryImmutable
Create a Carbon instance from a timestamp in milliseconds.
FactoryImmutable::createFromTimestampMsUTC() — Method in classFactoryImmutable
Create a Carbon instance from a timestamp in milliseconds.
FactoryImmutable::createFromTimestampUTC() — Method in classFactoryImmutable
Create a Carbon instance from an timestamp keeping the timezone to UTC.
FactoryImmutable::createMidnightDate() — Method in classFactoryImmutable
Create a Carbon instance from just a date. The time portion is set to midnight.
FactoryImmutable::createSafe() — Method in classFactoryImmutable
Create a new safe Carbon instance from a specific date and time.
FactoryImmutable::createStrict() — Method in classFactoryImmutable
Create a new Carbon instance from a specific date and time using strict validation.
$Language#codeProperty in classLanguage
CastClass in namespaceCarbon\Traits
Trait Cast.
Cast::cast() — Method in classCast
Cast the current instance into the given class.
ComparisonClass in namespaceCarbon\Traits
Trait Comparison.
Comparison::canBeCreatedFromFormat() — Method in classComparison
Checks if the (date)time string is in a given format and valid to create a new instance.
Comparison::copy() — Method in classComparison
ConverterClass in namespaceCarbon\Traits
Trait Converter.
Converter::copy() — Method in classConverter
CreatorClass in namespaceCarbon\Traits
Trait Creator.
Creator::create() — Method in classCreator
Create a new Carbon instance from a specific date and time.
Creator::createSafe() — Method in classCreator
Create a new safe Carbon instance from a specific date and time.
Creator::createStrict() — Method in classCreator
Create a new Carbon instance from a specific date and time using strict validation.
Creator::createFromDate() — Method in classCreator
Create a Carbon instance from just a date. The time portion is set to now.
Creator::createMidnightDate() — Method in classCreator
Create a Carbon instance from just a date. The time portion is set to midnight.
Creator::createFromTime() — Method in classCreator
Create a Carbon instance from just a time. The date portion is set to today.
Creator::createFromTimeString() — Method in classCreator
Create a Carbon instance from a time string. The date portion is set to today.
Creator::createFromFormat() — Method in classCreator
Creator::createFromIsoFormat() — Method in classCreator
Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()).
Creator::createFromLocaleFormat() — Method in classCreator
Create a Carbon instance from a specific format and a string in a given language.
Creator::createFromLocaleIsoFormat() — Method in classCreator
Create a Carbon instance from a specific ISO format and a string in a given language.
Date::copy() — Method in classDate
Get a copy of the instance.
Date::clone() — Method in classDate
Date::carbonize() — Method in classDate
Return the Carbon instance passed through, a now instance in the same timezone if null given or parse the input if string given.
Date::centuriesUntil() — Method in classDate
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.
Date::ceilYear() — Method in classDate
Ceil the current instance year with given precision.
Date::ceilYears() — Method in classDate
Ceil the current instance year with given precision.
Date::ceilMonth() — Method in classDate
Ceil the current instance month with given precision.
Date::ceilMonths() — Method in classDate
Ceil the current instance month with given precision.
Date::ceilDay() — Method in classDate
Ceil the current instance day with given precision.
Date::ceilDays() — Method in classDate
Ceil the current instance day with given precision.
Date::ceilHour() — Method in classDate
Ceil the current instance hour with given precision.
Date::ceilHours() — Method in classDate
Ceil the current instance hour with given precision.
Date::ceilMinute() — Method in classDate
Ceil the current instance minute with given precision.
Date::ceilMinutes() — Method in classDate
Ceil the current instance minute with given precision.
Date::ceilSecond() — Method in classDate
Ceil the current instance second with given precision.
Date::ceilSeconds() — Method in classDate
Ceil the current instance second with given precision.
Date::ceilMillennium() — Method in classDate
Ceil the current instance millennium with given precision.
Date::ceilMillennia() — Method in classDate
Ceil the current instance millennium with given precision.
Date::ceilCentury() — Method in classDate
Ceil the current instance century with given precision.
Date::ceilCenturies() — Method in classDate
Ceil the current instance century with given precision.
Date::ceilDecade() — Method in classDate
Ceil the current instance decade with given precision.
Date::ceilDecades() — Method in classDate
Ceil the current instance decade with given precision.
Date::ceilQuarter() — Method in classDate
Ceil the current instance quarter with given precision.
Date::ceilQuarters() — Method in classDate
Ceil the current instance quarter with given precision.
Date::ceilMillisecond() — Method in classDate
Ceil the current instance millisecond with given precision.
Date::ceilMilliseconds() — Method in classDate
Ceil the current instance millisecond with given precision.
Date::ceilMicrosecond() — Method in classDate
Ceil the current instance microsecond with given precision.
Date::ceilMicroseconds() — Method in classDate
Ceil the current instance microsecond with given precision.
Difference::calendar() — Method in classDifference
Returns either day of week + time (e.g. "Last Friday at 3:30 PM") if reference time is within 7 days, or a calendar date (e.g. "10/29/2017") otherwise.
Difference::copy() — Method in classDifference
IntervalRounding::callRoundMethod() — Method in classIntervalRounding
IntervalStep::convertDate() — Method in classIntervalStep
Take a date and apply either the step if set, or the current interval else.
Mixin::context() — Method in classMixin
Return the current context from inside a macro callee or a null if static.
Modifiers::closest() — Method in classModifiers
Get the closest date from the instance (second-precision).
Modifiers::change() — Method in classModifiers
Similar to native modify() method of DateTime but can handle more grammars.
$ObjectInitialisation#constructedObjectIdProperty in classObjectInitialisation
True when parent::__construct has been called.
$Options#createFromFormatFunctionProperty in classOptions
Function to call instead of createFromFormat.
Rounding::ceilUnit() — Method in classRounding
Ceil the current instance at the given unit with given precision if specified.
Rounding::ceil() — Method in classRounding
Ceil the current instance second with given precision if specified.
Rounding::ceilWeek() — Method in classRounding
Ceil the current instance week.
Rounding::copy() — Method in classRounding
Serialization::cleanupDumpProperties() — Method in classSerialization
Cleanup properties attached to the public scope of DateTime when a dump of the date is requested.
Timestamp::createFromTimestamp() — Method in classTimestamp
Create a Carbon instance from a timestamp and set the timezone (use default one if not specified).
Timestamp::createFromTimestampUTC() — Method in classTimestamp
Create a Carbon instance from an timestamp keeping the timezone to UTC.
Timestamp::createFromTimestampMsUTC() — Method in classTimestamp
Create a Carbon instance from a timestamp in milliseconds.
Timestamp::createFromTimestampMs() — Method in classTimestamp
Create a Carbon instance from a timestamp in milliseconds.
Week::copy() — Method in classWeek

D

$AbstractTranslator#directoriesProperty in classAbstractTranslator
List of custom directories that contain translation files.
$Carbon#dayProperty in classCarbon
$Carbon#dayOfYearProperty in classCarbon
1 through 366
Carbon::daysUntil() — Method in classCarbon
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.
Carbon::decadesUntil() — Method in classCarbon
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.
$CarbonImmutable#dayProperty in classCarbonImmutable
$CarbonImmutable#dayOfYearProperty in classCarbonImmutable
1 through 366
CarbonImmutable::days() — Method in classCarbonImmutable
Set current instance day to the given value.
CarbonImmutable::day() — Method in classCarbonImmutable
Set current instance day to the given value.
CarbonImmutable::daysUntil() — Method in classCarbonImmutable
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.
CarbonImmutable::decadesUntil() — Method in classCarbonImmutable
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.
$CarbonInterface#dayProperty in classCarbonInterface
$CarbonInterface#dayOfYearProperty in classCarbonInterface
1 through 366
CarbonInterface::dayOfYear() — Method in classCarbonInterface
Get/set the day of year.
CarbonInterface::diffAsCarbonInterval() — Method in classCarbonInterface
Get the difference as a CarbonInterval instance.
CarbonInterface::diffFiltered() — Method in classCarbonInterface
Get the difference by the given interval using a filter closure.
CarbonInterface::diffForHumans() — Method in classCarbonInterface
Get the difference in a human readable format in the current locale from current instance to an other instance given (or now if null given).
CarbonInterface::diffInDays() — Method in classCarbonInterface
Get the difference in days rounded down.
CarbonInterface::diffInDaysFiltered() — Method in classCarbonInterface
Get the difference in days using a filter closure rounded down.
CarbonInterface::diffInHours() — Method in classCarbonInterface
Get the difference in hours rounded down.
CarbonInterface::diffInHoursFiltered() — Method in classCarbonInterface
Get the difference in hours using a filter closure rounded down.
CarbonInterface::diffInMicroseconds() — Method in classCarbonInterface
Get the difference in microseconds.
CarbonInterface::diffInMilliseconds() — Method in classCarbonInterface
Get the difference in milliseconds rounded down.
CarbonInterface::diffInMinutes() — Method in classCarbonInterface
Get the difference in minutes rounded down.
CarbonInterface::diffInMonths() — Method in classCarbonInterface
Get the difference in months rounded down.
CarbonInterface::diffInQuarters() — Method in classCarbonInterface
Get the difference in quarters rounded down.
CarbonInterface::diffInRealHours() — Method in classCarbonInterface
Get the difference in hours rounded down using timestamps.
CarbonInterface::diffInRealMicroseconds() — Method in classCarbonInterface
Get the difference in microseconds using timestamps.
CarbonInterface::diffInRealMilliseconds() — Method in classCarbonInterface
Get the difference in milliseconds rounded down using timestamps.
CarbonInterface::diffInRealMinutes() — Method in classCarbonInterface
Get the difference in minutes rounded down using timestamps.
CarbonInterface::diffInRealSeconds() — Method in classCarbonInterface
Get the difference in seconds using timestamps.
CarbonInterface::diffInSeconds() — Method in classCarbonInterface
Get the difference in seconds rounded down.
CarbonInterface::diffInWeekdays() — Method in classCarbonInterface
Get the difference in weekdays rounded down.
CarbonInterface::diffInWeekendDays() — Method in classCarbonInterface
Get the difference in weekend days using a filter rounded down.
CarbonInterface::diffInWeeks() — Method in classCarbonInterface
Get the difference in weeks rounded down.
CarbonInterface::diffInYears() — Method in classCarbonInterface
Get the difference in years
CarbonInterface::disableHumanDiffOption() — Method in classCarbonInterface
CarbonInterface::days() — Method in classCarbonInterface
Set current instance day to the given value.
CarbonInterface::day() — Method in classCarbonInterface
Set current instance day to the given value.
CarbonInterface::daysUntil() — Method in classCarbonInterface
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.
CarbonInterface::decadesUntil() — Method in classCarbonInterface
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.
$CarbonInterval#dayzProperty in classCarbonInterval
Total days of the current interval (weeks * 7 + days).
$CarbonInterval#dayzExcludeWeeksProperty in classCarbonInterval
Total days remaining in the final week of the current instance (days % 7).
$CarbonInterval#daysExcludeWeeksProperty in classCarbonInterval
alias of dayzExcludeWeeks
CarbonInterval::divide() — Method in classCarbonInterval
Divide and cascade current instance by a given divider.
$CarbonPeriod#dateClassProperty in classCarbonPeriod
Date class of iteration items.
$CarbonPeriod#dateIntervalProperty in classCarbonPeriod
Underlying date interval instance. Always present, one day by default.
DateTimeDefaultPrecisionClass in namespaceCarbon\Doctrine
DateTimeImmutableTypeClass in namespaceCarbon\Doctrine
DateTimeTypeClass in namespaceCarbon\Doctrine
Factory::disableHumanDiffOption() — Method in classFactory
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
FactoryImmutable::disableHumanDiffOption() — Method in classFactoryImmutable
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
$Boundaries#daysInMonthProperty in classBoundaries
DateClass in namespaceCarbon\Traits
A simple API extension for DateTime.
$Date#daysProperty in classDate
Names of days of the week.
$Date#dayProperty in classDate
$Date#dayOfYearProperty in classDate
1 through 366
Date::dayOfYear() — Method in classDate
Get/set the day of year.
Date::days() — Method in classDate
Set current instance day to the given value.
Date::day() — Method in classDate
Set current instance day to the given value.
Date::daysUntil() — Method in classDate
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.
Date::decadesUntil() — Method in classDate
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.
DeprecatedPropertiesClass in namespaceCarbon\Traits
DifferenceClass in namespaceCarbon\Traits
Trait Difference.
Difference::diff() — Method in classDifference
Difference::diffAsCarbonInterval() — Method in classDifference
Get the difference as a CarbonInterval instance.
Difference::diffInYears() — Method in classDifference
Get the difference in years
Difference::diffInQuarters() — Method in classDifference
Get the difference in quarters rounded down.
Difference::diffInMonths() — Method in classDifference
Get the difference in months rounded down.
Difference::diffInWeeks() — Method in classDifference
Get the difference in weeks rounded down.
Difference::diffInDays() — Method in classDifference
Get the difference in days rounded down.
Difference::diffInDaysFiltered() — Method in classDifference
Get the difference in days using a filter closure rounded down.
Difference::diffInHoursFiltered() — Method in classDifference
Get the difference in hours using a filter closure rounded down.
Difference::diffFiltered() — Method in classDifference
Get the difference by the given interval using a filter closure.
Difference::diffInWeekdays() — Method in classDifference
Get the difference in weekdays rounded down.
Difference::diffInWeekendDays() — Method in classDifference
Get the difference in weekend days using a filter rounded down.
Difference::diffInHours() — Method in classDifference
Get the difference in hours rounded down.
Difference::diffInRealHours() — Method in classDifference
Get the difference in hours rounded down using timestamps.
Difference::diffInMinutes() — Method in classDifference
Get the difference in minutes rounded down.
Difference::diffInRealMinutes() — Method in classDifference
Get the difference in minutes rounded down using timestamps.
Difference::diffInSeconds() — Method in classDifference
Get the difference in seconds rounded down.
Difference::diffInMicroseconds() — Method in classDifference
Get the difference in microseconds.
Difference::diffInMilliseconds() — Method in classDifference
Get the difference in milliseconds rounded down.
Difference::diffInRealSeconds() — Method in classDifference
Get the difference in seconds using timestamps.
Difference::diffInRealMicroseconds() — Method in classDifference
Get the difference in microseconds using timestamps.
Difference::diffInRealMilliseconds() — Method in classDifference
Get the difference in milliseconds rounded down using timestamps.
Difference::diffForHumans() — Method in classDifference
Get the difference in a human readable format in the current locale from current instance to an other instance given (or now if null given).
Localization::disableHumanDiffOption() — Method in classLocalization
$Serialization#dumpPropertiesProperty in classSerialization
List of key to use for dump/serialization.
$Serialization#dumpLocaleProperty in classSerialization
Locale to dump comes here before serialization.
$Serialization#dumpDatePropertiesProperty in classSerialization
Embed date properties to dump in a dedicated variables so it won't overlap native DateTime ones.
$Serialization#daysInMonthProperty in classSerialization
$Week#daysInYearProperty in classWeek
$Week#dayOfWeekProperty in classWeek
$Week#dayOfYearProperty in classWeek
Week::dayOfYear() — Method in classWeek

E

$Carbon#englishDayOfWeekProperty in classCarbon
the day of week in English
$Carbon#englishMonthProperty in classCarbon
the month in English
$CarbonImmutable#englishDayOfWeekProperty in classCarbonImmutable
the day of week in English
$CarbonImmutable#englishMonthProperty in classCarbonImmutable
the month in English
CarbonImmutable::endOfTime() — Method in classCarbonImmutable
Create a very far date representing end of time.
$CarbonInterface#englishDayOfWeekProperty in classCarbonInterface
the day of week in English
$CarbonInterface#englishMonthProperty in classCarbonInterface
the month in English
CarbonInterface::enableHumanDiffOption() — Method in classCarbonInterface
CarbonInterface::endOf() — Method in classCarbonInterface
Modify to end of current given unit.
CarbonInterface::endOfCentury() — Method in classCarbonInterface
Resets the date to end of the century and time to 23:59:59.999999
CarbonInterface::endOfDay() — Method in classCarbonInterface
Resets the time to 23:59:59.999999 end of day
CarbonInterface::endOfDecade() — Method in classCarbonInterface
Resets the date to end of the decade and time to 23:59:59.999999
CarbonInterface::endOfHour() — Method in classCarbonInterface
Modify to end of current hour, minutes and seconds become 59
CarbonInterface::endOfMillennium() — Method in classCarbonInterface
Resets the date to end of the millennium and time to 23:59:59.999999
CarbonInterface::endOfMinute() — Method in classCarbonInterface
Modify to end of current minute, seconds become 59
CarbonInterface::endOfMonth() — Method in classCarbonInterface
Resets the date to end of the month and time to 23:59:59.999999
CarbonInterface::endOfQuarter() — Method in classCarbonInterface
Resets the date to end of the quarter and time to 23:59:59.999999
CarbonInterface::endOfSecond() — Method in classCarbonInterface
Modify to end of current second, microseconds become 999999
CarbonInterface::endOfWeek() — Method in classCarbonInterface
Resets the date to end of week (defined in $weekEndsAt) and time to 23:59:59.999999
CarbonInterface::endOfYear() — Method in classCarbonInterface
Resets the date to end of the year and time to 23:59:59.999999
CarbonInterface::eq() — Method in classCarbonInterface
Determines if the instance is equal to another
CarbonInterface::equalTo() — Method in classCarbonInterface
Determines if the instance is equal to another
CarbonInterface::executeWithLocale() — Method in classCarbonInterface
Set the current locale to the given, execute the passed function, reset the locale to previous one, then return the result of the closure (or null if the closure was void).
CarbonInterval::eq() — Method in classCarbonInterval
Determines if the instance is equal to another
CarbonInterval::equalTo() — Method in classCarbonInterval
Determines if the instance is equal to another
$CarbonPeriod#endDateProperty in classCarbonPeriod
Period end date. For inverted interval should be before the start date. Applied via a filter.
CarbonPeriod::excludeStartDate() — Method in classCarbonPeriod
Toggle EXCLUDE_START_DATE option.
CarbonPeriod::excludeEndDate() — Method in classCarbonPeriod
Toggle EXCLUDE_END_DATE option.
CarbonPeriod::eq() — Method in classCarbonPeriod
Determines if the instance is equal to another.
CarbonPeriod::equalTo() — Method in classCarbonPeriod
Determines if the instance is equal to another.
CarbonPeriod::endsBefore() — Method in classCarbonPeriod
Determines if the end date is before an other given date.
CarbonPeriod::endsBeforeOrAt() — Method in classCarbonPeriod
Determines if the end date is before or the same as a given date.
CarbonPeriod::endsAfter() — Method in classCarbonPeriod
Determines if the end date is after an other given date.
CarbonPeriod::endsAfterOrAt() — Method in classCarbonPeriod
Determines if the end date is after or the same as a given date.
CarbonPeriod::endsAt() — Method in classCarbonPeriod
Determines if the end date is the same as a given date.
CarbonPeriod::endIteration() — Method in classCarbonPeriod
End iteration filter callback.
EndLessPeriodExceptionClass in namespaceCarbon\Exceptions
ExceptionClass in namespaceCarbon\Exceptions
$ParseErrorException#expectedProperty in classParseErrorException
The expected.
Factory::enableHumanDiffOption() — Method in classFactory
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
Factory::executeWithLocale() — Method in classFactory
Set the current locale to the given, execute the passed function, reset the locale to previous one,
FactoryImmutable::enableHumanDiffOption() — Method in classFactoryImmutable
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
FactoryImmutable::executeWithLocale() — Method in classFactoryImmutable
Set the current locale to the given, execute the passed function, reset the locale to previous one,
Boundaries::endOfDay() — Method in classBoundaries
Resets the time to 23:59:59.999999 end of day
Boundaries::endOfMonth() — Method in classBoundaries
Resets the date to end of the month and time to 23:59:59.999999
Boundaries::endOfQuarter() — Method in classBoundaries
Resets the date to end of the quarter and time to 23:59:59.999999
Boundaries::endOfYear() — Method in classBoundaries
Resets the date to end of the year and time to 23:59:59.999999
Boundaries::endOfDecade() — Method in classBoundaries
Resets the date to end of the decade and time to 23:59:59.999999
Boundaries::endOfCentury() — Method in classBoundaries
Resets the date to end of the century and time to 23:59:59.999999
Boundaries::endOfMillennium() — Method in classBoundaries
Resets the date to end of the millennium and time to 23:59:59.999999
Boundaries::endOfWeek() — Method in classBoundaries
Resets the date to end of week (defined in $weekEndsAt) and time to 23:59:59.999999
Boundaries::endOfHour() — Method in classBoundaries
Modify to end of current hour, minutes and seconds become 59
Boundaries::endOfMinute() — Method in classBoundaries
Modify to end of current minute, seconds become 59
Boundaries::endOfSecond() — Method in classBoundaries
Modify to end of current second, microseconds become 999999
Boundaries::endOf() — Method in classBoundaries
Modify to end of current given unit.
$Comparison#endOfTimeProperty in classComparison
Comparison::eq() — Method in classComparison
Determines if the instance is equal to another
Comparison::equalTo() — Method in classComparison
Determines if the instance is equal to another
$Date#englishDayOfWeekProperty in classDate
the day of week in English
$Date#englishMonthProperty in classDate
the month in English
Date::expectDateTime() — Method in classDate
Throws an exception if the given object is not a DateTime and does not implement DateTimeInterface.
Date::executeStaticCallable() — Method in classDate
Date::executeCallable() — Method in classDate
Date::executeCallableWithContext() — Method in classDate
Localization::enableHumanDiffOption() — Method in classLocalization
Localization::executeWithLocale() — Method in classLocalization
Set the current locale to the given, execute the passed function, reset the locale to previous one, then return the result of the closure (or null if the closure was void).

F

CarbonImmutable::floorYear() — Method in classCarbonImmutable
Truncate the current instance year with given precision.
CarbonImmutable::floorYears() — Method in classCarbonImmutable
Truncate the current instance year with given precision.
CarbonImmutable::floorMonth() — Method in classCarbonImmutable
Truncate the current instance month with given precision.
CarbonImmutable::floorMonths() — Method in classCarbonImmutable
Truncate the current instance month with given precision.
CarbonImmutable::floorDay() — Method in classCarbonImmutable
Truncate the current instance day with given precision.
CarbonImmutable::floorDays() — Method in classCarbonImmutable
Truncate the current instance day with given precision.
CarbonImmutable::floorHour() — Method in classCarbonImmutable
Truncate the current instance hour with given precision.
CarbonImmutable::floorHours() — Method in classCarbonImmutable
Truncate the current instance hour with given precision.
CarbonImmutable::floorMinute() — Method in classCarbonImmutable
Truncate the current instance minute with given precision.
CarbonImmutable::floorMinutes() — Method in classCarbonImmutable
Truncate the current instance minute with given precision.
CarbonImmutable::floorSecond() — Method in classCarbonImmutable
Truncate the current instance second with given precision.
CarbonImmutable::floorSeconds() — Method in classCarbonImmutable
Truncate the current instance second with given precision.
CarbonImmutable::floorMillennium() — Method in classCarbonImmutable
Truncate the current instance millennium with given precision.
CarbonImmutable::floorMillennia() — Method in classCarbonImmutable
Truncate the current instance millennium with given precision.
CarbonImmutable::floorCentury() — Method in classCarbonImmutable
Truncate the current instance century with given precision.
CarbonImmutable::floorCenturies() — Method in classCarbonImmutable
Truncate the current instance century with given precision.
CarbonImmutable::floorDecade() — Method in classCarbonImmutable
Truncate the current instance decade with given precision.
CarbonImmutable::floorDecades() — Method in classCarbonImmutable
Truncate the current instance decade with given precision.
CarbonImmutable::floorQuarter() — Method in classCarbonImmutable
Truncate the current instance quarter with given precision.
CarbonImmutable::floorQuarters() — Method in classCarbonImmutable
Truncate the current instance quarter with given precision.
CarbonImmutable::floorMillisecond() — Method in classCarbonImmutable
Truncate the current instance millisecond with given precision.
CarbonImmutable::floorMilliseconds() — Method in classCarbonImmutable
Truncate the current instance millisecond with given precision.
CarbonImmutable::floorMicrosecond() — Method in classCarbonImmutable
Truncate the current instance microsecond with given precision.
CarbonImmutable::floorMicroseconds() — Method in classCarbonImmutable
Truncate the current instance microsecond with given precision.
CarbonInterface::farthest() — Method in classCarbonInterface
Get the farthest date from the instance (second-precision).
CarbonInterface::firstOfMonth() — Method in classCarbonInterface
Modify to the first occurrence of a given day of the week in the current month. If no dayOfWeek is provided, modify to the first day of the current month. Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
CarbonInterface::firstOfQuarter() — Method in classCarbonInterface
Modify to the first occurrence of a given day of the week in the current quarter. If no dayOfWeek is provided, modify to the first day of the current quarter. Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
CarbonInterface::firstOfYear() — Method in classCarbonInterface
Modify to the first occurrence of a given day of the week in the current year. If no dayOfWeek is provided, modify to the first day of the current year. Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
CarbonInterface::floatDiffInDays() — Method in classCarbonInterface
Get the difference in days as float (microsecond-precision).
CarbonInterface::floatDiffInHours() — Method in classCarbonInterface
Get the difference in hours as float (microsecond-precision).
CarbonInterface::floatDiffInMinutes() — Method in classCarbonInterface
Get the difference in minutes as float (microsecond-precision).
CarbonInterface::floatDiffInMonths() — Method in classCarbonInterface
Get the difference in months as float (microsecond-precision).
CarbonInterface::floatDiffInRealDays() — Method in classCarbonInterface
Get the difference in days as float (microsecond-precision).
CarbonInterface::floatDiffInRealHours() — Method in classCarbonInterface
Get the difference in hours as float (microsecond-precision) using timestamps.
CarbonInterface::floatDiffInRealMinutes() — Method in classCarbonInterface
Get the difference in minutes as float (microsecond-precision) using timestamps.
CarbonInterface::floatDiffInRealMonths() — Method in classCarbonInterface
Get the difference in months as float (microsecond-precision) using timestamps.
CarbonInterface::floatDiffInRealSeconds() — Method in classCarbonInterface
Get the difference in seconds as float (microsecond-precision) using timestamps.
CarbonInterface::floatDiffInRealWeeks() — Method in classCarbonInterface
Get the difference in weeks as float (microsecond-precision).
CarbonInterface::floatDiffInRealYears() — Method in classCarbonInterface
Get the difference in year as float (microsecond-precision) using timestamps.
CarbonInterface::floatDiffInSeconds() — Method in classCarbonInterface
Get the difference in seconds as float (microsecond-precision).
CarbonInterface::floatDiffInWeeks() — Method in classCarbonInterface
Get the difference in weeks as float (microsecond-precision).
CarbonInterface::floatDiffInYears() — Method in classCarbonInterface
Get the difference in year as float (microsecond-precision).
CarbonInterface::floor() — Method in classCarbonInterface
Round the current instance second with given precision if specified.
CarbonInterface::floorUnit() — Method in classCarbonInterface
Truncate the current instance at the given unit with given precision if specified.
CarbonInterface::floorWeek() — Method in classCarbonInterface
Truncate the current instance week.
CarbonInterface::formatLocalized() — Method in classCarbonInterface
Format the instance with the current locale. You can set the current locale using setlocale() https://php.net/setlocale.
CarbonInterface::from() — Method in classCarbonInterface
CarbonInterface::fromNow() — Method in classCarbonInterface
Get the difference in a human readable format in the current locale from current instance to now.
CarbonInterface::fromSerialized() — Method in classCarbonInterface
Create an instance from a serialized string.
CarbonInterface::floorYear() — Method in classCarbonInterface
Truncate the current instance year with given precision.
CarbonInterface::floorYears() — Method in classCarbonInterface
Truncate the current instance year with given precision.
CarbonInterface::floorMonth() — Method in classCarbonInterface
Truncate the current instance month with given precision.
CarbonInterface::floorMonths() — Method in classCarbonInterface
Truncate the current instance month with given precision.
CarbonInterface::floorDay() — Method in classCarbonInterface
Truncate the current instance day with given precision.
CarbonInterface::floorDays() — Method in classCarbonInterface
Truncate the current instance day with given precision.
CarbonInterface::floorHour() — Method in classCarbonInterface
Truncate the current instance hour with given precision.
CarbonInterface::floorHours() — Method in classCarbonInterface
Truncate the current instance hour with given precision.
CarbonInterface::floorMinute() — Method in classCarbonInterface
Truncate the current instance minute with given precision.
CarbonInterface::floorMinutes() — Method in classCarbonInterface
Truncate the current instance minute with given precision.
CarbonInterface::floorSecond() — Method in classCarbonInterface
Truncate the current instance second with given precision.
CarbonInterface::floorSeconds() — Method in classCarbonInterface
Truncate the current instance second with given precision.
CarbonInterface::floorMillennium() — Method in classCarbonInterface
Truncate the current instance millennium with given precision.
CarbonInterface::floorMillennia() — Method in classCarbonInterface
Truncate the current instance millennium with given precision.
CarbonInterface::floorCentury() — Method in classCarbonInterface
Truncate the current instance century with given precision.
CarbonInterface::floorCenturies() — Method in classCarbonInterface
Truncate the current instance century with given precision.
CarbonInterface::floorDecade() — Method in classCarbonInterface
Truncate the current instance decade with given precision.
CarbonInterface::floorDecades() — Method in classCarbonInterface
Truncate the current instance decade with given precision.
CarbonInterface::floorQuarter() — Method in classCarbonInterface
Truncate the current instance quarter with given precision.
CarbonInterface::floorQuarters() — Method in classCarbonInterface
Truncate the current instance quarter with given precision.
CarbonInterface::floorMillisecond() — Method in classCarbonInterface
Truncate the current instance millisecond with given precision.
CarbonInterface::floorMilliseconds() — Method in classCarbonInterface
Truncate the current instance millisecond with given precision.
CarbonInterface::floorMicrosecond() — Method in classCarbonInterface
Truncate the current instance microsecond with given precision.
CarbonInterface::floorMicroseconds() — Method in classCarbonInterface
Truncate the current instance microsecond with given precision.
$CarbonInterval#formatsProperty in classCarbonInterval
CarbonInterval::fromString() — Method in classCarbonInterval
Creates a CarbonInterval from string.
CarbonInterval::forHumans() — Method in classCarbonInterval
Get the current interval in a human readable format in the current locale.
CarbonInterval::floorUnit() — Method in classCarbonInterval
Truncate the current instance at the given unit with given precision if specified.
CarbonInterval::floor() — Method in classCarbonInterval
Round the current instance second with given precision if specified.
$CarbonPeriod#filtersProperty in classCarbonPeriod
The filters stack.
CarbonPeriod::first() — Method in classCarbonPeriod
Return the first date in the date period.
CarbonPeriod::forEach() — Method in classCarbonPeriod
Execute a given function on each date of the period.
CarbonPeriod::floorUnit() — Method in classCarbonPeriod
Truncate the current instance at the given unit with given precision if specified.
CarbonPeriod::floor() — Method in classCarbonPeriod
Round the current instance second with given precision if specified (else period interval is used).
CarbonPeriod::follows() — Method in classCarbonPeriod
Return true if the current period follows a given other period (with no overlap).
CarbonPeriod::filterRecurrences() — Method in classCarbonPeriod
Recurrences filter callback (limits number of recurrences).
CarbonPeriod::filterEndDate() — Method in classCarbonPeriod
End date filter callback.
FactoryClass in namespaceCarbon
A factory to generate Carbon instances with common settings.
Factory::fromSerialized() — Method in classFactory
Create an instance from a serialized string.
FactoryImmutableClass in namespaceCarbon
A factory to generate CarbonImmutable instances with common settings.
FactoryImmutable::fromSerialized() — Method in classFactoryImmutable
Create an instance from a serialized string.
Converter::format() — Method in classConverter
Date::formatLocalized() — Method in classDate
Format the instance with the current locale. You can set the current locale using setlocale() https://php.net/setlocale.
Date::floorYear() — Method in classDate
Truncate the current instance year with given precision.
Date::floorYears() — Method in classDate
Truncate the current instance year with given precision.
Date::floorMonth() — Method in classDate
Truncate the current instance month with given precision.
Date::floorMonths() — Method in classDate
Truncate the current instance month with given precision.
Date::floorDay() — Method in classDate
Truncate the current instance day with given precision.
Date::floorDays() — Method in classDate
Truncate the current instance day with given precision.
Date::floorHour() — Method in classDate
Truncate the current instance hour with given precision.
Date::floorHours() — Method in classDate
Truncate the current instance hour with given precision.
Date::floorMinute() — Method in classDate
Truncate the current instance minute with given precision.
Date::floorMinutes() — Method in classDate
Truncate the current instance minute with given precision.
Date::floorSecond() — Method in classDate
Truncate the current instance second with given precision.
Date::floorSeconds() — Method in classDate
Truncate the current instance second with given precision.
Date::floorMillennium() — Method in classDate
Truncate the current instance millennium with given precision.
Date::floorMillennia() — Method in classDate
Truncate the current instance millennium with given precision.
Date::floorCentury() — Method in classDate
Truncate the current instance century with given precision.
Date::floorCenturies() — Method in classDate
Truncate the current instance century with given precision.
Date::floorDecade() — Method in classDate
Truncate the current instance decade with given precision.
Date::floorDecades() — Method in classDate
Truncate the current instance decade with given precision.
Date::floorQuarter() — Method in classDate
Truncate the current instance quarter with given precision.
Date::floorQuarters() — Method in classDate
Truncate the current instance quarter with given precision.
Date::floorMillisecond() — Method in classDate
Truncate the current instance millisecond with given precision.
Date::floorMilliseconds() — Method in classDate
Truncate the current instance millisecond with given precision.
Date::floorMicrosecond() — Method in classDate
Truncate the current instance microsecond with given precision.
Date::floorMicroseconds() — Method in classDate
Truncate the current instance microsecond with given precision.
Difference::fixNegativeMicroseconds() — Method in classDifference
Difference::fixDiffInterval() — Method in classDifference
Difference::floatDiffInSeconds() — Method in classDifference
Get the difference in seconds as float (microsecond-precision).
Difference::floatDiffInMinutes() — Method in classDifference
Get the difference in minutes as float (microsecond-precision).
Difference::floatDiffInHours() — Method in classDifference
Get the difference in hours as float (microsecond-precision).
Difference::floatDiffInDays() — Method in classDifference
Get the difference in days as float (microsecond-precision).
Difference::floatDiffInWeeks() — Method in classDifference
Get the difference in weeks as float (microsecond-precision).
Difference::floatDiffInMonths() — Method in classDifference
Get the difference in months as float (microsecond-precision).
Difference::floatDiffInYears() — Method in classDifference
Get the difference in year as float (microsecond-precision).
Difference::floatDiffInRealSeconds() — Method in classDifference
Get the difference in seconds as float (microsecond-precision) using timestamps.
Difference::floatDiffInRealMinutes() — Method in classDifference
Get the difference in minutes as float (microsecond-precision) using timestamps.
Difference::floatDiffInRealHours() — Method in classDifference
Get the difference in hours as float (microsecond-precision) using timestamps.
Difference::floatDiffInRealDays() — Method in classDifference
Get the difference in days as float (microsecond-precision).
Difference::floatDiffInRealWeeks() — Method in classDifference
Get the difference in weeks as float (microsecond-precision).
Difference::floatDiffInRealMonths() — Method in classDifference
Get the difference in months as float (microsecond-precision) using timestamps.
Difference::floatDiffInRealYears() — Method in classDifference
Get the difference in year as float (microsecond-precision) using timestamps.
Difference::from() — Method in classDifference
Difference::fromNow() — Method in classDifference
Get the difference in a human readable format in the current locale from current instance to now.
Modifiers::firstOfMonth() — Method in classModifiers
Modify to the first occurrence of a given day of the week in the current month. If no dayOfWeek is provided, modify to the first day of the current month. Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
Modifiers::firstOfQuarter() — Method in classModifiers
Modify to the first occurrence of a given day of the week in the current quarter. If no dayOfWeek is provided, modify to the first day of the current quarter. Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
Modifiers::firstOfYear() — Method in classModifiers
Modify to the first occurrence of a given day of the week in the current year. If no dayOfWeek is provided, modify to the first day of the current year. Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
Modifiers::farthest() — Method in classModifiers
Get the farthest date from the instance (second-precision).
$Options#formatFunctionProperty in classOptions
Function to call instead of format.
Rounding::floorUnit() — Method in classRounding
Truncate the current instance at the given unit with given precision if specified.
Rounding::floor() — Method in classRounding
Round the current instance second with given precision if specified.
Rounding::floorWeek() — Method in classRounding
Truncate the current instance week.
Serialization::fromSerialized() — Method in classSerialization
Create an instance from a serialized string.

G

AbstractTranslator::get() — Method in classAbstractTranslator
Return a singleton instance of Translator.
AbstractTranslator::getDirectories() — Method in classAbstractTranslator
Returns the list of directories translation files are searched in.
AbstractTranslator::getLocalesFiles() — Method in classAbstractTranslator
Returns the list of files matching a given locale prefix (or all if empty).
AbstractTranslator::getAvailableLocales() — Method in classAbstractTranslator
Returns the list of internally available locales and already loaded custom locales.
AbstractTranslator::getMessages() — Method in classAbstractTranslator
Get messages of a locale, if none given, return all the languages.
CarbonInterface::genericMacro() — Method in classCarbonInterface
Register a custom macro.
CarbonInterface::get() — Method in classCarbonInterface
Get a part of the Carbon object
CarbonInterface::getAltNumber() — Method in classCarbonInterface
Returns the alternative number for a given date property if available in the current locale.
CarbonInterface::getAvailableLocales() — Method in classCarbonInterface
Returns the list of internally available locales and already loaded custom locales.
CarbonInterface::getAvailableLocalesInfo() — Method in classCarbonInterface
Returns list of Language object for each available locale. This object allow you to get the ISO name, native name, region and variant of the locale.
CarbonInterface::getCalendarFormats() — Method in classCarbonInterface
Returns list of calendar formats for ISO formatting.
CarbonInterface::getDays() — Method in classCarbonInterface
Get the days of the week
CarbonInterface::getFallbackLocale() — Method in classCarbonInterface
Get the fallback locale.
CarbonInterface::getFormatsToIsoReplacements() — Method in classCarbonInterface
List of replacements from date() format to isoFormat().
CarbonInterface::getHumanDiffOptions() — Method in classCarbonInterface
Return default humanDiff() options (merged flags as integer).
CarbonInterface::getIsoFormats() — Method in classCarbonInterface
Returns list of locale formats for ISO formatting.
CarbonInterface::getIsoUnits() — Method in classCarbonInterface
Returns list of locale units for ISO formatting.
CarbonInterface::getLastErrors() — Method in classCarbonInterface
CarbonInterface::getLocalMacro() — Method in classCarbonInterface
Get the raw callable macro registered globally or locally for a given name.
CarbonInterface::getLocalTranslator() — Method in classCarbonInterface
Get the translator of the current instance or the default if none set.
CarbonInterface::getLocale() — Method in classCarbonInterface
Get the current translator locale.
CarbonInterface::getMacro() — Method in classCarbonInterface
Get the raw callable macro registered globally for a given name.
CarbonInterface::getMidDayAt() — Method in classCarbonInterface
get midday/noon hour
CarbonInterface::getOffsetString() — Method in classCarbonInterface
Returns the offset hour and minute formatted with +/- and a given separator (":" by default).
CarbonInterface::getPaddedUnit() — Method in classCarbonInterface
Returns a unit of the instance padded with 0 by default or any other string if specified.
CarbonInterface::getPreciseTimestamp() — Method in classCarbonInterface
Returns a timestamp rounded with the given precision (6 by default).
CarbonInterface::getSettings() — Method in classCarbonInterface
Returns current local settings.
CarbonInterface::getTestNow() — Method in classCarbonInterface
Get the Carbon instance (real or mock) to be returned when a "now" instance is created.
CarbonInterface::getTimeFormatByPrecision() — Method in classCarbonInterface
Return a format from H:i to H:i:s.u according to given unit precision.
CarbonInterface::getTimestampMs() — Method in classCarbonInterface
Returns the timestamp with millisecond precision.
CarbonInterface::getTranslatedDayName() — Method in classCarbonInterface
Get the translation of the current week day name (with context for languages with multiple forms).
CarbonInterface::getTranslatedMinDayName() — Method in classCarbonInterface
Get the translation of the current abbreviated week day name (with context for languages with multiple forms).
CarbonInterface::getTranslatedMonthName() — Method in classCarbonInterface
Get the translation of the current month day name (with context for languages with multiple forms).
CarbonInterface::getTranslatedShortDayName() — Method in classCarbonInterface
Get the translation of the current short week day name (with context for languages with multiple forms).
CarbonInterface::getTranslatedShortMonthName() — Method in classCarbonInterface
Get the translation of the current short month day name (with context for languages with multiple forms).
CarbonInterface::getTranslationMessage() — Method in classCarbonInterface
Returns raw translation message for a given key.
CarbonInterface::getTranslationMessageWith() — Method in classCarbonInterface
Returns raw translation message for a given key.
CarbonInterface::getTranslator() — Method in classCarbonInterface
Get the default translator instance in use.
CarbonInterface::getWeekEndsAt() — Method in classCarbonInterface
Get the last day of week
CarbonInterface::getWeekStartsAt() — Method in classCarbonInterface
Get the first day of week
CarbonInterface::getWeekendDays() — Method in classCarbonInterface
Get weekend days
CarbonInterface::greaterThan() — Method in classCarbonInterface
Determines if the instance is greater (after) than another
CarbonInterface::greaterThanOrEqualTo() — Method in classCarbonInterface
Determines if the instance is greater (after) than or equal to another
CarbonInterface::gt() — Method in classCarbonInterface
Determines if the instance is greater (after) than another
CarbonInterface::gte() — Method in classCarbonInterface
Determines if the instance is greater (after) than or equal to another
CarbonInterval::getCascadeFactors() — Method in classCarbonInterval
Mapping of units and factors for cascading.
CarbonInterval::getFactor() — Method in classCarbonInterval
Returns the factor for a given source-to-target couple.
CarbonInterval::getFactorWithDefault() — Method in classCarbonInterval
Returns the factor for a given source-to-target couple if set, else try to find the appropriate constant as the factor, such as Carbon::DAYS_PER_WEEK.
CarbonInterval::getDaysPerWeek() — Method in classCarbonInterval
Returns current config for days per week.
CarbonInterval::getHoursPerDay() — Method in classCarbonInterval
Returns current config for hours per day.
CarbonInterval::getMinutesPerHour() — Method in classCarbonInterval
Returns current config for minutes per hour.
CarbonInterval::getSecondsPerMinute() — Method in classCarbonInterval
Returns current config for seconds per minute.
CarbonInterval::getMillisecondsPerSecond() — Method in classCarbonInterval
Returns current config for microseconds per second.
CarbonInterval::getMicrosecondsPerMillisecond() — Method in classCarbonInterval
Returns current config for microseconds per second.
CarbonInterval::get() — Method in classCarbonInterval
Get a part of the CarbonInterval object.
CarbonInterval::getForHumansInitialVariables() — Method in classCarbonInterval
CarbonInterval::getForHumansParameters() — Method in classCarbonInterval
CarbonInterval::getRoundingMethodFromOptions() — Method in classCarbonInterval
CarbonInterval::getNonZeroValues() — Method in classCarbonInterval
Returns interval non-zero values as an array where key are the unit names and values the counts.
CarbonInterval::getValuesSequence() — Method in classCarbonInterval
Returns interval values as an array where key are the unit names and values the counts from the biggest non-zero one the the smallest non-zero one.
CarbonInterval::getDateIntervalSpec() — Method in classCarbonInterval
Get the interval_spec string of a date interval.
CarbonInterval::gt() — Method in classCarbonInterval
Determines if the instance is greater (longer) than another
CarbonInterval::greaterThan() — Method in classCarbonInterval
Determines if the instance is greater (longer) than another
CarbonInterval::gte() — Method in classCarbonInterval
Determines if the instance is greater (longer) than or equal to another
CarbonInterval::greaterThanOrEqualTo() — Method in classCarbonInterval
Determines if the instance is greater (longer) than or equal to another
CarbonPeriod::getGetter() — Method in classCarbonPeriod
Get the getter for a property allowing both DatePeriod snakeCase and camelCase names.
CarbonPeriod::get() — Method in classCarbonPeriod
Get a property allowing both DatePeriod snakeCase and camelCase names.
CarbonPeriod::getDateClass() — Method in classCarbonPeriod
Returns iteration item date class.
CarbonPeriod::getOptions() — Method in classCarbonPeriod
Get the period options.
CarbonPeriod::getDateInterval() — Method in classCarbonPeriod
Get the underlying date interval.
CarbonPeriod::getStartDate() — Method in classCarbonPeriod
Get start date of the period.
CarbonPeriod::getEndDate() — Method in classCarbonPeriod
Get end date of the period.
CarbonPeriod::getRecurrences() — Method in classCarbonPeriod
Get number of recurrences.
CarbonPeriod::getIncludedStartDate() — Method in classCarbonPeriod
Return the start if it's included by option, else return the start + 1 period interval.
CarbonPeriod::getIncludedEndDate() — Method in classCarbonPeriod
Return the end if it's included by option, else return the end - 1 period interval.
CarbonPeriod::getFilters() — Method in classCarbonPeriod
Get filters stack.
CarbonTimeZone::getDateTimeZoneNameFromMixed() — Method in classCarbonTimeZone
CarbonTimeZone::getDateTimeZoneFromName() — Method in classCarbonTimeZone
CarbonTimeZone::getAbbreviatedName() — Method in classCarbonTimeZone
Returns abbreviated name of the current timezone according to DST setting.
CarbonTimeZone::getAbbr() — Method in classCarbonTimeZone
CarbonTimeZone::getType() — Method in classCarbonTimeZone
Return the type number:
CarbonTimeZone::getOffsetNameFromMinuteOffset() — Method in classCarbonTimeZone
Convert a total minutes offset into a standardized timezone offset string.
CarbonDoctrineType::getSQLDeclaration() — Method in classCarbonDoctrineType
CarbonImmutableType::getName() — Method in classCarbonImmutableType
{@inheritdoc}
CarbonType::getName() — Method in classCarbonType
{@inheritdoc}
CarbonTypeConverter::getCarbonClassName() — Method in classCarbonTypeConverter
CarbonTypeConverter::getSQLDeclaration() — Method in classCarbonTypeConverter
DateTimeDefaultPrecision::get() — Method in classDateTimeDefaultPrecision
Get the default Doctrine datetime and datetime_immutable precision.
DateTimeImmutableType::getCarbonClassName() — Method in classDateTimeImmutableType
BadComparisonUnitException::getUnit() — Method in classBadComparisonUnitException
Get the unit.
BadFluentConstructorException::getMethod() — Method in classBadFluentConstructorException
Get the method.
BadFluentSetterException::getSetter() — Method in classBadFluentSetterException
Get the setter.
ImmutableException::getValue() — Method in classImmutableException
Get the value.
InvalidDateException::getField() — Method in classInvalidDateException
Get the invalid field.
InvalidDateException::getValue() — Method in classInvalidDateException
Get the invalid value.
NotACarbonClassException::getClassName() — Method in classNotACarbonClassException
Get the className.
OutOfRangeException::getMax() — Method in classOutOfRangeException
OutOfRangeException::getMin() — Method in classOutOfRangeException
OutOfRangeException::getUnit() — Method in classOutOfRangeException
OutOfRangeException::getValue() — Method in classOutOfRangeException
ParseErrorException::getExpected() — Method in classParseErrorException
Get the expected.
ParseErrorException::getActual() — Method in classParseErrorException
Get the actual.
ParseErrorException::getHelp() — Method in classParseErrorException
Get the help message.
UnitNotConfiguredException::getUnit() — Method in classUnitNotConfiguredException
Get the unit.
$UnknownGetterException#getterProperty in classUnknownGetterException
The getter.
UnknownGetterException::getGetter() — Method in classUnknownGetterException
Get the getter.
UnknownMethodException::getMethod() — Method in classUnknownMethodException
Get the method.
UnknownSetterException::getSetter() — Method in classUnknownSetterException
Get the setter.
UnknownUnitException::getUnit() — Method in classUnknownUnitException
Get the unit.
Factory::getClassName() — Method in classFactory
Factory::getSettings() — Method in classFactory
Factory::genericMacro() — Method in classFactory
Register a custom macro.
Factory::getAvailableLocales() — Method in classFactory
Returns the list of internally available locales and already loaded custom locales.
Factory::getDays() — Method in classFactory
Get the days of the week
Factory::getFallbackLocale() — Method in classFactory
Get the fallback locale.
Factory::getFormatsToIsoReplacements() — Method in classFactory
List of replacements from date() format to isoFormat().
Factory::getHumanDiffOptions() — Method in classFactory
Return default humanDiff() options (merged flags as integer).
Factory::getIsoUnits() — Method in classFactory
Returns list of locale units for ISO formatting.
Factory::getLastErrors() — Method in classFactory
{@inheritdoc}
Factory::getLocale() — Method in classFactory
Get the current translator locale.
Factory::getMacro() — Method in classFactory
Get the raw callable macro registered globally for a given name.
Factory::getMidDayAt() — Method in classFactory
get midday/noon hour
Factory::getTestNow() — Method in classFactory
Get the Carbon instance (real or mock) to be returned when a "now"
Factory::getTimeFormatByPrecision() — Method in classFactory
Return a format from H:i to H:i:s.u according to given unit precision.
Factory::getTranslationMessageWith() — Method in classFactory
Returns raw translation message for a given key.
Factory::getTranslator() — Method in classFactory
Get the default translator instance in use.
Factory::getWeekEndsAt() — Method in classFactory
Get the last day of week
Factory::getWeekStartsAt() — Method in classFactory
Get the first day of week
Factory::getWeekendDays() — Method in classFactory
Get weekend days
FactoryImmutable::genericMacro() — Method in classFactoryImmutable
Register a custom macro.
FactoryImmutable::getAvailableLocales() — Method in classFactoryImmutable
Returns the list of internally available locales and already loaded custom locales.
FactoryImmutable::getDays() — Method in classFactoryImmutable
Get the days of the week
FactoryImmutable::getFallbackLocale() — Method in classFactoryImmutable
Get the fallback locale.
FactoryImmutable::getFormatsToIsoReplacements() — Method in classFactoryImmutable
List of replacements from date() format to isoFormat().
FactoryImmutable::getHumanDiffOptions() — Method in classFactoryImmutable
Return default humanDiff() options (merged flags as integer).
FactoryImmutable::getIsoUnits() — Method in classFactoryImmutable
Returns list of locale units for ISO formatting.
FactoryImmutable::getLastErrors() — Method in classFactoryImmutable
{@inheritdoc}
FactoryImmutable::getLocale() — Method in classFactoryImmutable
Get the current translator locale.
FactoryImmutable::getMacro() — Method in classFactoryImmutable
Get the raw callable macro registered globally for a given name.
FactoryImmutable::getMidDayAt() — Method in classFactoryImmutable
get midday/noon hour
FactoryImmutable::getTestNow() — Method in classFactoryImmutable
Get the Carbon instance (real or mock) to be returned when a "now"
FactoryImmutable::getTimeFormatByPrecision() — Method in classFactoryImmutable
Return a format from H:i to H:i:s.u according to given unit precision.
FactoryImmutable::getTranslationMessageWith() — Method in classFactoryImmutable
Returns raw translation message for a given key.
FactoryImmutable::getTranslator() — Method in classFactoryImmutable
Get the default translator instance in use.
FactoryImmutable::getWeekEndsAt() — Method in classFactoryImmutable
Get the last day of week
FactoryImmutable::getWeekStartsAt() — Method in classFactoryImmutable
Get the first day of week
FactoryImmutable::getWeekendDays() — Method in classFactoryImmutable
Get weekend days
Language::getNames() — Method in classLanguage
Get both isoName and nativeName as an array.
Language::getId() — Method in classLanguage
Returns the original locale ID.
Language::getCode() — Method in classLanguage
Returns the code of the locale "en"/"fr".
Language::getVariant() — Method in classLanguage
Returns the variant code such as cyrl/latn.
Language::getVariantName() — Method in classLanguage
Returns the variant such as Cyrillic/Latin.
Language::getRegion() — Method in classLanguage
Returns the region part of the locale.
Language::getRegionName() — Method in classLanguage
Returns the region name for the current language.
Language::getFullIsoName() — Method in classLanguage
Returns the long ISO language name.
Language::getFullNativeName() — Method in classLanguage
Return the full name of the language in this language.
Language::getIsoName() — Method in classLanguage
Returns the short ISO language name.
Language::getNativeName() — Method in classLanguage
Get the short name of the language in this language.
Language::getIsoDescription() — Method in classLanguage
Get a string with short ISO name, region in parentheses if applicable, variant in parentheses if applicable.
Language::getNativeDescription() — Method in classLanguage
Get a string with short native name, region in parentheses if applicable, variant in parentheses if applicable.
Language::getFullIsoDescription() — Method in classLanguage
Get a string with long ISO name, region in parentheses if applicable, variant in parentheses if applicable.
Language::getFullNativeDescription() — Method in classLanguage
Get a string with long native name, region in parentheses if applicable, variant in parentheses if applicable.
ServiceProvider::getLocale() — Method in classServiceProvider
ServiceProvider::getApp() — Method in classServiceProvider
ServiceProvider::getGlobalApp() — Method in classServiceProvider
AbstractMacro::getDeclaringClass() — Method in classAbstractMacro
{@inheritdoc}
AbstractMacro::getDocComment() — Method in classAbstractMacro
{@inheritdoc}
AbstractMacro::getName() — Method in classAbstractMacro
{@inheritdoc}
AbstractMacro::getParameters() — Method in classAbstractMacro
{@inheritdoc}
AbstractMacro::getReturnType() — Method in classAbstractMacro
{@inheritdoc}
AbstractMacro::getPrototype() — Method in classAbstractMacro
{@inheritdoc}
AbstractMacro::getTentativeReturnType() — Method in classAbstractMacro
MacroExtension::getMethod() — Method in classMacroExtension
{@inheritdoc}
MacroScanner::getMethod() — Method in classMacroScanner
Return the Macro for a given pair class-method.
Comparison::gt() — Method in classComparison
Determines if the instance is greater (after) than another
Comparison::greaterThan() — Method in classComparison
Determines if the instance is greater (after) than another
Comparison::gte() — Method in classComparison
Determines if the instance is greater (after) than or equal to another
Comparison::greaterThanOrEqualTo() — Method in classComparison
Determines if the instance is greater (after) than or equal to another
Converter::getTimeFormatByPrecision() — Method in classConverter
Return a format from H:i to H:i:s.u according to given unit precision.
Creator::getLastErrors() — Method in classCreator
Date::getTimezone() — Method in classDate
Date::getRangesByUnit() — Method in classDate
List of minimum and maximums for each unit.
Date::get() — Method in classDate
Get a part of the Carbon object
Date::getTranslatedFormByRegExp() — Method in classDate
Date::getTranslatedDayName() — Method in classDate
Get the translation of the current week day name (with context for languages with multiple forms).
Date::getTranslatedShortDayName() — Method in classDate
Get the translation of the current short week day name (with context for languages with multiple forms).
Date::getTranslatedMinDayName() — Method in classDate
Get the translation of the current abbreviated week day name (with context for languages with multiple forms).
Date::getTranslatedMonthName() — Method in classDate
Get the translation of the current month day name (with context for languages with multiple forms).
Date::getTranslatedShortMonthName() — Method in classDate
Get the translation of the current short month day name (with context for languages with multiple forms).
Date::getDays() — Method in classDate
Get the days of the week
Date::getWeekStartsAt() — Method in classDate
Get the first day of week
Date::getWeekEndsAt() — Method in classDate
Get the last day of week
Date::getWeekendDays() — Method in classDate
Get weekend days
Date::getIsoFormats() — Method in classDate
Returns list of locale formats for ISO formatting.
Date::getCalendarFormats() — Method in classDate
Returns list of calendar formats for ISO formatting.
Date::getIsoUnits() — Method in classDate
Returns list of locale units for ISO formatting.
Date::getPaddedUnit() — Method in classDate
Returns a unit of the instance padded with 0 by default or any other string if specified.
Date::getAltNumber() — Method in classDate
Returns the alternative number for a given date property if available in the current locale.
Date::getFormatsToIsoReplacements() — Method in classDate
List of replacements from date() format to isoFormat().
Date::getOffsetString() — Method in classDate
Returns the offset hour and minute formatted with +/- and a given separator (":" by default).
Date::getGenericMacros() — Method in classDate
IntervalStep::getStep() — Method in classIntervalStep
Get the dynamic step in use.
Localization::getHumanDiffOptions() — Method in classLocalization
Return default humanDiff() options (merged flags as integer).
Localization::getTranslator() — Method in classLocalization
Get the default translator instance in use.
Localization::getLocalTranslator() — Method in classLocalization
Get the translator of the current instance or the default if none set.
Localization::getTranslationMessageWith() — Method in classLocalization
Returns raw translation message for a given key.
Localization::getTranslationMessage() — Method in classLocalization
Returns raw translation message for a given key.
Localization::getLocale() — Method in classLocalization
Get the current translator locale.
Localization::getFallbackLocale() — Method in classLocalization
Get the fallback locale.
Localization::getAvailableLocales() — Method in classLocalization
Returns the list of internally available locales and already loaded custom locales.
Localization::getAvailableLocalesInfo() — Method in classLocalization
Returns list of Language object for each available locale. This object allow you to get the ISO name, native name, region and variant of the locale.
Localization::getTranslatorLocale() — Method in classLocalization
Get the locale of a given translator.
Localization::getLocaleAwareTranslator() — Method in classLocalization
Throw an error if passed object is not LocaleAwareInterface.
$Macro#globalMacrosProperty in classMacro
The registered macros.
$Macro#globalGenericMacrosProperty in classMacro
The registered generic macros.
Macro::genericMacro() — Method in classMacro
Register a custom macro.
Macro::getMacro() — Method in classMacro
Get the raw callable macro registered globally for a given name.
Macro::getLocalMacro() — Method in classMacro
Get the raw callable macro registered globally or locally for a given name.
Modifiers::getMidDayAt() — Method in classModifiers
get midday/noon hour
Options::getSettings() — Method in classOptions
Returns current local settings.
Test::getTestNow() — Method in classTest
Get the Carbon instance (real or mock) to be returned when a "now" instance is created.
Test::getMockedTestNow() — Method in classTest
Get the mocked date passed in setTestNow() and if it's a Closure, execute it.
Timestamp::getPreciseTimestamp() — Method in classTimestamp
Returns a timestamp rounded with the given precision (6 by default).
Timestamp::getTimestampMs() — Method in classTimestamp
Returns the timestamp with millisecond precision.
Week::getTranslationMessage() — Method in classWeek
TranslatorStrongTypeInterface::getFromCatalogue() — Method in classTranslatorStrongTypeInterface

H

$Carbon#hourProperty in classCarbon
Carbon::hoursUntil() — Method in classCarbon
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.
$CarbonImmutable#hourProperty in classCarbonImmutable
CarbonImmutable::hours() — Method in classCarbonImmutable
Set current instance hour to the given value.
CarbonImmutable::hour() — Method in classCarbonImmutable
Set current instance hour to the given value.
CarbonImmutable::hoursUntil() — Method in classCarbonImmutable
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.
$CarbonInterface#hourProperty in classCarbonInterface
CarbonInterface::hasFormat() — Method in classCarbonInterface
Checks if the (date)time string is in a given format.
CarbonInterface::hasFormatWithModifiers() — Method in classCarbonInterface
Checks if the (date)time string is in a given format.
CarbonInterface::hasLocalMacro() — Method in classCarbonInterface
Checks if macro is registered globally or locally.
CarbonInterface::hasLocalTranslator() — Method in classCarbonInterface
Return true if the current instance has its own translator.
CarbonInterface::hasMacro() — Method in classCarbonInterface
Checks if macro is registered globally.
CarbonInterface::hasRelativeKeywords() — Method in classCarbonInterface
Determine if a time string will produce a relative date.
CarbonInterface::hasTestNow() — Method in classCarbonInterface
Determine if there is a valid test instance set. A valid test instance is anything that is not null.
CarbonInterface::hours() — Method in classCarbonInterface
Set current instance hour to the given value.
CarbonInterface::hour() — Method in classCarbonInterface
Set current instance hour to the given value.
CarbonInterface::hoursUntil() — Method in classCarbonInterface
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.
$CarbonInterval#hoursProperty in classCarbonInterval
Total hours of the current interval.
CarbonInterval::hasMacro() — Method in classCarbonInterval
Check if macro is registered.
CarbonInterval::hasNegativeValues() — Method in classCarbonInterval
CarbonInterval::hasPositiveValues() — Method in classCarbonInterval
CarbonPeriod::hasMacro() — Method in classCarbonPeriod
Check if macro is registered.
CarbonPeriod::hasFilter() — Method in classCarbonPeriod
Return whether given instance or name is in the filter stack.
CarbonPeriod::handleChangedParameters() — Method in classCarbonPeriod
Handle change of the parameters.
$ParseErrorException#helpProperty in classParseErrorException
The help message.
Factory::hasFormat() — Method in classFactory
Checks if the (date)time string is in a given format.
Factory::hasFormatWithModifiers() — Method in classFactory
Checks if the (date)time string is in a given format.
Factory::hasMacro() — Method in classFactory
Checks if macro is registered globally.
Factory::hasRelativeKeywords() — Method in classFactory
Determine if a time string will produce a relative date.
Factory::hasTestNow() — Method in classFactory
Determine if there is a valid test instance set. A valid test instance
FactoryImmutable::hasFormat() — Method in classFactoryImmutable
Checks if the (date)time string is in a given format.
FactoryImmutable::hasFormatWithModifiers() — Method in classFactoryImmutable
Checks if the (date)time string is in a given format.
FactoryImmutable::hasMacro() — Method in classFactoryImmutable
Checks if macro is registered globally.
FactoryImmutable::hasRelativeKeywords() — Method in classFactoryImmutable
Determine if a time string will produce a relative date.
FactoryImmutable::hasTestNow() — Method in classFactoryImmutable
Determine if there is a valid test instance set. A valid test instance
MacroExtension::hasMethod() — Method in classMacroExtension
{@inheritdoc}
MacroScanner::hasMethod() — Method in classMacroScanner
Return true if the given pair class-method is a Carbon macro.
Comparison::hasFormat() — Method in classComparison
Checks if the (date)time string is in a given format.
Comparison::hasFormatWithModifiers() — Method in classComparison
Checks if the (date)time string is in a given format.
$Date#hourProperty in classDate
Date::hasRelativeKeywords() — Method in classDate
Determine if a time string will produce a relative date.
Date::hours() — Method in classDate
Set current instance hour to the given value.
Date::hour() — Method in classDate
Set current instance hour to the given value.
Date::hoursUntil() — Method in classDate
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.
$Localization#humanDiffOptionsProperty in classLocalization
Options for diffForHumans().
Localization::hasLocalTranslator() — Method in classLocalization
Return true if the current instance has its own translator.
Macro::hasMacro() — Method in classMacro
Checks if macro is registered globally.
Macro::hasLocalMacro() — Method in classMacro
Checks if macro is registered globally or locally.
Test::hasTestNow() — Method in classTest
Determine if there is a valid test instance set. A valid test instance is anything that is not null.

I

$AbstractTranslator#initializingProperty in classAbstractTranslator
Set to true while constructing.
$Carbon#isoWeekProperty in classCarbon
1 through 53
$Carbon#isoWeekYearProperty in classCarbon
year according to ISO week format
Carbon::isMutable() — Method in classCarbon
Returns true if the current class/instance is mutable.
Carbon::isUtc() — Method in classCarbon
Check if the current instance has UTC timezone. (Both isUtc and isUTC cases are valid.)
Carbon::isLocal() — Method in classCarbon
Check if the current instance has non-UTC timezone.
Carbon::isValid() — Method in classCarbon
Check if the current instance is a valid date.
Carbon::isDST() — Method in classCarbon
Check if the current instance is in a daylight saving time.
Carbon::isSunday() — Method in classCarbon
Checks if the instance day is sunday.
Carbon::isMonday() — Method in classCarbon
Checks if the instance day is monday.
Carbon::isTuesday() — Method in classCarbon
Checks if the instance day is tuesday.
Carbon::isWednesday() — Method in classCarbon
Checks if the instance day is wednesday.
Carbon::isThursday() — Method in classCarbon
Checks if the instance day is thursday.
Carbon::isFriday() — Method in classCarbon
Checks if the instance day is friday.
Carbon::isSaturday() — Method in classCarbon
Checks if the instance day is saturday.
Carbon::isSameYear() — Method in classCarbon
Checks if the given date is in the same year as the instance. If null passed, compare to now (with the same timezone).
Carbon::isCurrentYear() — Method in classCarbon
Checks if the instance is in the same year as the current moment.
Carbon::isNextYear() — Method in classCarbon
Checks if the instance is in the same year as the current moment next year.
Carbon::isLastYear() — Method in classCarbon
Checks if the instance is in the same year as the current moment last year.
Carbon::isSameWeek() — Method in classCarbon
Checks if the given date is in the same week as the instance. If null passed, compare to now (with the same timezone).
Carbon::isCurrentWeek() — Method in classCarbon
Checks if the instance is in the same week as the current moment.
Carbon::isNextWeek() — Method in classCarbon
Checks if the instance is in the same week as the current moment next week.
Carbon::isLastWeek() — Method in classCarbon
Checks if the instance is in the same week as the current moment last week.
Carbon::isSameDay() — Method in classCarbon
Checks if the given date is in the same day as the instance. If null passed, compare to now (with the same timezone).
Carbon::isCurrentDay() — Method in classCarbon
Checks if the instance is in the same day as the current moment.
Carbon::isNextDay() — Method in classCarbon
Checks if the instance is in the same day as the current moment next day.
Carbon::isLastDay() — Method in classCarbon
Checks if the instance is in the same day as the current moment last day.
Carbon::isSameHour() — Method in classCarbon
Checks if the given date is in the same hour as the instance. If null passed, compare to now (with the same timezone).
Carbon::isCurrentHour() — Method in classCarbon
Checks if the instance is in the same hour as the current moment.
Carbon::isNextHour() — Method in classCarbon
Checks if the instance is in the same hour as the current moment next hour.
Carbon::isLastHour() — Method in classCarbon
Checks if the instance is in the same hour as the current moment last hour.
Carbon::isSameMinute() — Method in classCarbon
Checks if the given date is in the same minute as the instance. If null passed, compare to now (with the same timezone).
Carbon::isCurrentMinute() — Method in classCarbon
Checks if the instance is in the same minute as the current moment.
Carbon::isNextMinute() — Method in classCarbon
Checks if the instance is in the same minute as the current moment next minute.
Carbon::isLastMinute() — Method in classCarbon
Checks if the instance is in the same minute as the current moment last minute.
Carbon::isSameSecond() — Method in classCarbon
Checks if the given date is in the same second as the instance. If null passed, compare to now (with the same timezone).
Carbon::isCurrentSecond() — Method in classCarbon
Checks if the instance is in the same second as the current moment.
Carbon::isNextSecond() — Method in classCarbon
Checks if the instance is in the same second as the current moment next second.
Carbon::isLastSecond() — Method in classCarbon
Checks if the instance is in the same second as the current moment last second.
Carbon::isSameMicro() — Method in classCarbon
Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
Carbon::isCurrentMicro() — Method in classCarbon
Checks if the instance is in the same microsecond as the current moment.
Carbon::isNextMicro() — Method in classCarbon
Checks if the instance is in the same microsecond as the current moment next microsecond.
Carbon::isLastMicro() — Method in classCarbon
Checks if the instance is in the same microsecond as the current moment last microsecond.
Carbon::isSameMicrosecond() — Method in classCarbon
Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
Carbon::isCurrentMicrosecond() — Method in classCarbon
Checks if the instance is in the same microsecond as the current moment.
Carbon::isNextMicrosecond() — Method in classCarbon
Checks if the instance is in the same microsecond as the current moment next microsecond.
Carbon::isLastMicrosecond() — Method in classCarbon
Checks if the instance is in the same microsecond as the current moment last microsecond.
Carbon::isCurrentMonth() — Method in classCarbon
Checks if the instance is in the same month as the current moment.
Carbon::isNextMonth() — Method in classCarbon
Checks if the instance is in the same month as the current moment next month.
Carbon::isLastMonth() — Method in classCarbon
Checks if the instance is in the same month as the current moment last month.
Carbon::isCurrentQuarter() — Method in classCarbon
Checks if the instance is in the same quarter as the current moment.
Carbon::isNextQuarter() — Method in classCarbon
Checks if the instance is in the same quarter as the current moment next quarter.
Carbon::isLastQuarter() — Method in classCarbon
Checks if the instance is in the same quarter as the current moment last quarter.
Carbon::isSameDecade() — Method in classCarbon
Checks if the given date is in the same decade as the instance. If null passed, compare to now (with the same timezone).
Carbon::isCurrentDecade() — Method in classCarbon
Checks if the instance is in the same decade as the current moment.
Carbon::isNextDecade() — Method in classCarbon
Checks if the instance is in the same decade as the current moment next decade.
Carbon::isLastDecade() — Method in classCarbon
Checks if the instance is in the same decade as the current moment last decade.
Carbon::isSameCentury() — Method in classCarbon
Checks if the given date is in the same century as the instance. If null passed, compare to now (with the same timezone).
Carbon::isCurrentCentury() — Method in classCarbon
Checks if the instance is in the same century as the current moment.
Carbon::isNextCentury() — Method in classCarbon
Checks if the instance is in the same century as the current moment next century.
Carbon::isLastCentury() — Method in classCarbon
Checks if the instance is in the same century as the current moment last century.
Carbon::isSameMillennium() — Method in classCarbon
Checks if the given date is in the same millennium as the instance. If null passed, compare to now (with the same timezone).
Carbon::isCurrentMillennium() — Method in classCarbon
Checks if the instance is in the same millennium as the current moment.
Carbon::isNextMillennium() — Method in classCarbon
Checks if the instance is in the same millennium as the current moment next millennium.
Carbon::isLastMillennium() — Method in classCarbon
Checks if the instance is in the same millennium as the current moment last millennium.
$CarbonImmutable#isoWeekProperty in classCarbonImmutable
1 through 53
$CarbonImmutable#isoWeekYearProperty in classCarbonImmutable
year according to ISO week format
CarbonImmutable::isUtc() — Method in classCarbonImmutable
Check if the current instance has UTC timezone. (Both isUtc and isUTC cases are valid.)
CarbonImmutable::isLocal() — Method in classCarbonImmutable
Check if the current instance has non-UTC timezone.
CarbonImmutable::isValid() — Method in classCarbonImmutable
Check if the current instance is a valid date.
CarbonImmutable::isDST() — Method in classCarbonImmutable
Check if the current instance is in a daylight saving time.
CarbonImmutable::isSunday() — Method in classCarbonImmutable
Checks if the instance day is sunday.
CarbonImmutable::isMonday() — Method in classCarbonImmutable
Checks if the instance day is monday.
CarbonImmutable::isTuesday() — Method in classCarbonImmutable
Checks if the instance day is tuesday.
CarbonImmutable::isWednesday() — Method in classCarbonImmutable
Checks if the instance day is wednesday.
CarbonImmutable::isThursday() — Method in classCarbonImmutable
Checks if the instance day is thursday.
CarbonImmutable::isFriday() — Method in classCarbonImmutable
Checks if the instance day is friday.
CarbonImmutable::isSaturday() — Method in classCarbonImmutable
Checks if the instance day is saturday.
CarbonImmutable::isSameYear() — Method in classCarbonImmutable
Checks if the given date is in the same year as the instance. If null passed, compare to now (with the same timezone).
CarbonImmutable::isCurrentYear() — Method in classCarbonImmutable
Checks if the instance is in the same year as the current moment.
CarbonImmutable::isNextYear() — Method in classCarbonImmutable
Checks if the instance is in the same year as the current moment next year.
CarbonImmutable::isLastYear() — Method in classCarbonImmutable
Checks if the instance is in the same year as the current moment last year.
CarbonImmutable::isSameWeek() — Method in classCarbonImmutable
Checks if the given date is in the same week as the instance. If null passed, compare to now (with the same timezone).
CarbonImmutable::isCurrentWeek() — Method in classCarbonImmutable
Checks if the instance is in the same week as the current moment.
CarbonImmutable::isNextWeek() — Method in classCarbonImmutable
Checks if the instance is in the same week as the current moment next week.
CarbonImmutable::isLastWeek() — Method in classCarbonImmutable
Checks if the instance is in the same week as the current moment last week.
CarbonImmutable::isSameDay() — Method in classCarbonImmutable
Checks if the given date is in the same day as the instance. If null passed, compare to now (with the same timezone).
CarbonImmutable::isCurrentDay() — Method in classCarbonImmutable
Checks if the instance is in the same day as the current moment.
CarbonImmutable::isNextDay() — Method in classCarbonImmutable
Checks if the instance is in the same day as the current moment next day.
CarbonImmutable::isLastDay() — Method in classCarbonImmutable
Checks if the instance is in the same day as the current moment last day.
CarbonImmutable::isSameHour() — Method in classCarbonImmutable
Checks if the given date is in the same hour as the instance. If null passed, compare to now (with the same timezone).
CarbonImmutable::isCurrentHour() — Method in classCarbonImmutable
Checks if the instance is in the same hour as the current moment.
CarbonImmutable::isNextHour() — Method in classCarbonImmutable
Checks if the instance is in the same hour as the current moment next hour.
CarbonImmutable::isLastHour() — Method in classCarbonImmutable
Checks if the instance is in the same hour as the current moment last hour.
CarbonImmutable::isSameMinute() — Method in classCarbonImmutable
Checks if the given date is in the same minute as the instance. If null passed, compare to now (with the same timezone).
CarbonImmutable::isCurrentMinute() — Method in classCarbonImmutable
Checks if the instance is in the same minute as the current moment.
CarbonImmutable::isNextMinute() — Method in classCarbonImmutable
Checks if the instance is in the same minute as the current moment next minute.
CarbonImmutable::isLastMinute() — Method in classCarbonImmutable
Checks if the instance is in the same minute as the current moment last minute.
CarbonImmutable::isSameSecond() — Method in classCarbonImmutable
Checks if the given date is in the same second as the instance. If null passed, compare to now (with the same timezone).
CarbonImmutable::isCurrentSecond() — Method in classCarbonImmutable
Checks if the instance is in the same second as the current moment.
CarbonImmutable::isNextSecond() — Method in classCarbonImmutable
Checks if the instance is in the same second as the current moment next second.
CarbonImmutable::isLastSecond() — Method in classCarbonImmutable
Checks if the instance is in the same second as the current moment last second.
CarbonImmutable::isSameMicro() — Method in classCarbonImmutable
Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
CarbonImmutable::isCurrentMicro() — Method in classCarbonImmutable
Checks if the instance is in the same microsecond as the current moment.
CarbonImmutable::isNextMicro() — Method in classCarbonImmutable
Checks if the instance is in the same microsecond as the current moment next microsecond.
CarbonImmutable::isLastMicro() — Method in classCarbonImmutable
Checks if the instance is in the same microsecond as the current moment last microsecond.
CarbonImmutable::isSameMicrosecond() — Method in classCarbonImmutable
Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
CarbonImmutable::isCurrentMicrosecond() — Method in classCarbonImmutable
Checks if the instance is in the same microsecond as the current moment.
CarbonImmutable::isNextMicrosecond() — Method in classCarbonImmutable
Checks if the instance is in the same microsecond as the current moment next microsecond.
CarbonImmutable::isLastMicrosecond() — Method in classCarbonImmutable
Checks if the instance is in the same microsecond as the current moment last microsecond.
CarbonImmutable::isCurrentMonth() — Method in classCarbonImmutable
Checks if the instance is in the same month as the current moment.
CarbonImmutable::isNextMonth() — Method in classCarbonImmutable
Checks if the instance is in the same month as the current moment next month.
CarbonImmutable::isLastMonth() — Method in classCarbonImmutable
Checks if the instance is in the same month as the current moment last month.
CarbonImmutable::isCurrentQuarter() — Method in classCarbonImmutable
Checks if the instance is in the same quarter as the current moment.
CarbonImmutable::isNextQuarter() — Method in classCarbonImmutable
Checks if the instance is in the same quarter as the current moment next quarter.
CarbonImmutable::isLastQuarter() — Method in classCarbonImmutable
Checks if the instance is in the same quarter as the current moment last quarter.
CarbonImmutable::isSameDecade() — Method in classCarbonImmutable
Checks if the given date is in the same decade as the instance. If null passed, compare to now (with the same timezone).
CarbonImmutable::isCurrentDecade() — Method in classCarbonImmutable
Checks if the instance is in the same decade as the current moment.
CarbonImmutable::isNextDecade() — Method in classCarbonImmutable
Checks if the instance is in the same decade as the current moment next decade.
CarbonImmutable::isLastDecade() — Method in classCarbonImmutable
Checks if the instance is in the same decade as the current moment last decade.
CarbonImmutable::isSameCentury() — Method in classCarbonImmutable
Checks if the given date is in the same century as the instance. If null passed, compare to now (with the same timezone).
CarbonImmutable::isCurrentCentury() — Method in classCarbonImmutable
Checks if the instance is in the same century as the current moment.
CarbonImmutable::isNextCentury() — Method in classCarbonImmutable
Checks if the instance is in the same century as the current moment next century.
CarbonImmutable::isLastCentury() — Method in classCarbonImmutable
Checks if the instance is in the same century as the current moment last century.
CarbonImmutable::isSameMillennium() — Method in classCarbonImmutable
Checks if the given date is in the same millennium as the instance. If null passed, compare to now (with the same timezone).
CarbonImmutable::isCurrentMillennium() — Method in classCarbonImmutable
Checks if the instance is in the same millennium as the current moment.
CarbonImmutable::isNextMillennium() — Method in classCarbonImmutable
Checks if the instance is in the same millennium as the current moment next millennium.
CarbonImmutable::isLastMillennium() — Method in classCarbonImmutable
Checks if the instance is in the same millennium as the current moment last millennium.
$CarbonInterface#isoWeekProperty in classCarbonInterface
1 through 53
$CarbonInterface#isoWeekYearProperty in classCarbonInterface
year according to ISO week format
CarbonInterface::instance() — Method in classCarbonInterface
Create a Carbon instance from a DateTime one.
CarbonInterface::is() — Method in classCarbonInterface
Returns true if the current date matches the given string.
CarbonInterface::isAfter() — Method in classCarbonInterface
Determines if the instance is greater (after) than another
CarbonInterface::isBefore() — Method in classCarbonInterface
Determines if the instance is less (before) than another
CarbonInterface::isBetween() — Method in classCarbonInterface
Determines if the instance is between two others
CarbonInterface::isBirthday() — Method in classCarbonInterface
Check if its the birthday. Compares the date/month values of the two dates.
CarbonInterface::isCurrentUnit() — Method in classCarbonInterface
Determines if the instance is in the current unit given.
CarbonInterface::isDayOfWeek() — Method in classCarbonInterface
Checks if this day is a specific day of the week.
CarbonInterface::isEndOfDay() — Method in classCarbonInterface
Check if the instance is end of day.
CarbonInterface::isEndOfTime() — Method in classCarbonInterface
Returns true if the date was created using CarbonImmutable::endOfTime()
CarbonInterface::isFuture() — Method in classCarbonInterface
Determines if the instance is in the future, ie. greater (after) than now.
CarbonInterface::isImmutable() — Method in classCarbonInterface
Returns true if the current class/instance is immutable.
CarbonInterface::isLastOfMonth() — Method in classCarbonInterface
Check if today is the last day of the Month
CarbonInterface::isLeapYear() — Method in classCarbonInterface
Determines if the instance is a leap year.
CarbonInterface::isLongYear() — Method in classCarbonInterface
Determines if the instance is a long year
CarbonInterface::isMidday() — Method in classCarbonInterface
Check if the instance is midday.
CarbonInterface::isMidnight() — Method in classCarbonInterface
Check if the instance is start of day / midnight.
CarbonInterface::isModifiableUnit() — Method in classCarbonInterface
Returns true if a property can be changed via setter.
CarbonInterface::isMutable() — Method in classCarbonInterface
Returns true if the current class/instance is mutable.
CarbonInterface::isPast() — Method in classCarbonInterface
Determines if the instance is in the past, ie. less (before) than now.
CarbonInterface::isSameAs() — Method in classCarbonInterface
Compares the formatted values of the two dates.
CarbonInterface::isSameMonth() — Method in classCarbonInterface
Checks if the passed in date is in the same month as the instance´s month.
CarbonInterface::isSameQuarter() — Method in classCarbonInterface
Checks if the passed in date is in the same quarter as the instance quarter (and year if needed).
CarbonInterface::isSameUnit() — Method in classCarbonInterface
Determines if the instance is in the current unit given.
CarbonInterface::isStartOfDay() — Method in classCarbonInterface
Check if the instance is start of day / midnight.
CarbonInterface::isStartOfTime() — Method in classCarbonInterface
Returns true if the date was created using CarbonImmutable::startOfTime()
CarbonInterface::isStrictModeEnabled() — Method in classCarbonInterface
Returns true if the strict mode is globally in use, false else.
CarbonInterface::isToday() — Method in classCarbonInterface
Determines if the instance is today.
CarbonInterface::isTomorrow() — Method in classCarbonInterface
Determines if the instance is tomorrow.
CarbonInterface::isWeekday() — Method in classCarbonInterface
Determines if the instance is a weekday.
CarbonInterface::isWeekend() — Method in classCarbonInterface
Determines if the instance is a weekend day.
CarbonInterface::isYesterday() — Method in classCarbonInterface
Determines if the instance is yesterday.
CarbonInterface::isoFormat() — Method in classCarbonInterface
Format in the current language using ISO replacement patterns.
CarbonInterface::isoWeek() — Method in classCarbonInterface
Get/set the week number using given first day of week and first day of year included in the first week. Or use ISO format if no settings given.
CarbonInterface::isoWeekYear() — Method in classCarbonInterface
Set/get the week number of year using given first day of week and first day of year included in the first week. Or use ISO format if no settings given.
CarbonInterface::isoWeekday() — Method in classCarbonInterface
Get/set the ISO weekday from 1 (Monday) to 7 (Sunday).
CarbonInterface::isoWeeksInYear() — Method in classCarbonInterface
Get the number of weeks of the current week-year using given first day of week and first day of year included in the first week. Or use ISO format if no settings given.
CarbonInterface::isUtc() — Method in classCarbonInterface
Check if the current instance has UTC timezone. (Both isUtc and isUTC cases are valid.)
CarbonInterface::isLocal() — Method in classCarbonInterface
Check if the current instance has non-UTC timezone.
CarbonInterface::isValid() — Method in classCarbonInterface
Check if the current instance is a valid date.
CarbonInterface::isDST() — Method in classCarbonInterface
Check if the current instance is in a daylight saving time.
CarbonInterface::isSunday() — Method in classCarbonInterface
Checks if the instance day is sunday.
CarbonInterface::isMonday() — Method in classCarbonInterface
Checks if the instance day is monday.
CarbonInterface::isTuesday() — Method in classCarbonInterface
Checks if the instance day is tuesday.
CarbonInterface::isWednesday() — Method in classCarbonInterface
Checks if the instance day is wednesday.
CarbonInterface::isThursday() — Method in classCarbonInterface
Checks if the instance day is thursday.
CarbonInterface::isFriday() — Method in classCarbonInterface
Checks if the instance day is friday.
CarbonInterface::isSaturday() — Method in classCarbonInterface
Checks if the instance day is saturday.
CarbonInterface::isSameYear() — Method in classCarbonInterface
Checks if the given date is in the same year as the instance. If null passed, compare to now (with the same timezone).
CarbonInterface::isCurrentYear() — Method in classCarbonInterface
Checks if the instance is in the same year as the current moment.
CarbonInterface::isNextYear() — Method in classCarbonInterface
Checks if the instance is in the same year as the current moment next year.
CarbonInterface::isLastYear() — Method in classCarbonInterface
Checks if the instance is in the same year as the current moment last year.
CarbonInterface::isSameWeek() — Method in classCarbonInterface
Checks if the given date is in the same week as the instance. If null passed, compare to now (with the same timezone).
CarbonInterface::isCurrentWeek() — Method in classCarbonInterface
Checks if the instance is in the same week as the current moment.
CarbonInterface::isNextWeek() — Method in classCarbonInterface
Checks if the instance is in the same week as the current moment next week.
CarbonInterface::isLastWeek() — Method in classCarbonInterface
Checks if the instance is in the same week as the current moment last week.
CarbonInterface::isSameDay() — Method in classCarbonInterface
Checks if the given date is in the same day as the instance. If null passed, compare to now (with the same timezone).
CarbonInterface::isCurrentDay() — Method in classCarbonInterface
Checks if the instance is in the same day as the current moment.
CarbonInterface::isNextDay() — Method in classCarbonInterface
Checks if the instance is in the same day as the current moment next day.
CarbonInterface::isLastDay() — Method in classCarbonInterface
Checks if the instance is in the same day as the current moment last day.
CarbonInterface::isSameHour() — Method in classCarbonInterface
Checks if the given date is in the same hour as the instance. If null passed, compare to now (with the same timezone).
CarbonInterface::isCurrentHour() — Method in classCarbonInterface
Checks if the instance is in the same hour as the current moment.
CarbonInterface::isNextHour() — Method in classCarbonInterface
Checks if the instance is in the same hour as the current moment next hour.
CarbonInterface::isLastHour() — Method in classCarbonInterface
Checks if the instance is in the same hour as the current moment last hour.
CarbonInterface::isSameMinute() — Method in classCarbonInterface
Checks if the given date is in the same minute as the instance. If null passed, compare to now (with the same timezone).
CarbonInterface::isCurrentMinute() — Method in classCarbonInterface
Checks if the instance is in the same minute as the current moment.
CarbonInterface::isNextMinute() — Method in classCarbonInterface
Checks if the instance is in the same minute as the current moment next minute.
CarbonInterface::isLastMinute() — Method in classCarbonInterface
Checks if the instance is in the same minute as the current moment last minute.
CarbonInterface::isSameSecond() — Method in classCarbonInterface
Checks if the given date is in the same second as the instance. If null passed, compare to now (with the same timezone).
CarbonInterface::isCurrentSecond() — Method in classCarbonInterface
Checks if the instance is in the same second as the current moment.
CarbonInterface::isNextSecond() — Method in classCarbonInterface
Checks if the instance is in the same second as the current moment next second.
CarbonInterface::isLastSecond() — Method in classCarbonInterface
Checks if the instance is in the same second as the current moment last second.
CarbonInterface::isSameMicro() — Method in classCarbonInterface
Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
CarbonInterface::isCurrentMicro() — Method in classCarbonInterface
Checks if the instance is in the same microsecond as the current moment.
CarbonInterface::isNextMicro() — Method in classCarbonInterface
Checks if the instance is in the same microsecond as the current moment next microsecond.
CarbonInterface::isLastMicro() — Method in classCarbonInterface
Checks if the instance is in the same microsecond as the current moment last microsecond.
CarbonInterface::isSameMicrosecond() — Method in classCarbonInterface
Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
CarbonInterface::isCurrentMicrosecond() — Method in classCarbonInterface
Checks if the instance is in the same microsecond as the current moment.
CarbonInterface::isNextMicrosecond() — Method in classCarbonInterface
Checks if the instance is in the same microsecond as the current moment next microsecond.
CarbonInterface::isLastMicrosecond() — Method in classCarbonInterface
Checks if the instance is in the same microsecond as the current moment last microsecond.
CarbonInterface::isCurrentMonth() — Method in classCarbonInterface
Checks if the instance is in the same month as the current moment.
CarbonInterface::isNextMonth() — Method in classCarbonInterface
Checks if the instance is in the same month as the current moment next month.
CarbonInterface::isLastMonth() — Method in classCarbonInterface
Checks if the instance is in the same month as the current moment last month.
CarbonInterface::isCurrentQuarter() — Method in classCarbonInterface
Checks if the instance is in the same quarter as the current moment.
CarbonInterface::isNextQuarter() — Method in classCarbonInterface
Checks if the instance is in the same quarter as the current moment next quarter.
CarbonInterface::isLastQuarter() — Method in classCarbonInterface
Checks if the instance is in the same quarter as the current moment last quarter.
CarbonInterface::isSameDecade() — Method in classCarbonInterface
Checks if the given date is in the same decade as the instance. If null passed, compare to now (with the same timezone).
CarbonInterface::isCurrentDecade() — Method in classCarbonInterface
Checks if the instance is in the same decade as the current moment.
CarbonInterface::isNextDecade() — Method in classCarbonInterface
Checks if the instance is in the same decade as the current moment next decade.
CarbonInterface::isLastDecade() — Method in classCarbonInterface
Checks if the instance is in the same decade as the current moment last decade.
CarbonInterface::isSameCentury() — Method in classCarbonInterface
Checks if the given date is in the same century as the instance. If null passed, compare to now (with the same timezone).
CarbonInterface::isCurrentCentury() — Method in classCarbonInterface
Checks if the instance is in the same century as the current moment.
CarbonInterface::isNextCentury() — Method in classCarbonInterface
Checks if the instance is in the same century as the current moment next century.
CarbonInterface::isLastCentury() — Method in classCarbonInterface
Checks if the instance is in the same century as the current moment last century.
CarbonInterface::isSameMillennium() — Method in classCarbonInterface
Checks if the given date is in the same millennium as the instance. If null passed, compare to now (with the same timezone).
CarbonInterface::isCurrentMillennium() — Method in classCarbonInterface
Checks if the instance is in the same millennium as the current moment.
CarbonInterface::isNextMillennium() — Method in classCarbonInterface
Checks if the instance is in the same millennium as the current moment next millennium.
CarbonInterface::isLastMillennium() — Method in classCarbonInterface
Checks if the instance is in the same millennium as the current moment last millennium.
CarbonInterval::instance() — Method in classCarbonInterval
Create a CarbonInterval instance from a DateInterval one. Can not instance DateInterval objects created from DateTime::diff() as you can't externally set the $days field.
CarbonInterval::isEmpty() — Method in classCarbonInterval
Returns true if the interval is empty for each unit.
CarbonInterval::invert() — Method in classCarbonInterval
Invert the interval.
CarbonInterval::isBetween() — Method in classCarbonInterval
Determines if the instance is between two others
$CarbonPeriod#isDefaultIntervalProperty in classCarbonPeriod
Whether current date interval was set by default.
CarbonPeriod::instance() — Method in classCarbonPeriod
Create a new instance from a DatePeriod or CarbonPeriod object.
CarbonPeriod::intervalHasTime() — Method in classCarbonPeriod
Return whether given interval contains non zero value of any time unit.
CarbonPeriod::isIso8601() — Method in classCarbonPeriod
Return whether given variable is an ISO 8601 specification.
CarbonPeriod::invertDateInterval() — Method in classCarbonPeriod
Invert the period date interval.
CarbonPeriod::isStartExcluded() — Method in classCarbonPeriod
Returns true if the start date should be excluded.
CarbonPeriod::isEndExcluded() — Method in classCarbonPeriod
Returns true if the end date should be excluded.
CarbonPeriod::isStartIncluded() — Method in classCarbonPeriod
Returns true if the start date should be included.
CarbonPeriod::isEndIncluded() — Method in classCarbonPeriod
Returns true if the end date should be included.
CarbonPeriod::isUnfilteredAndEndLess() — Method in classCarbonPeriod
Return true if the period has no custom filter and is guaranteed to be endless.
CarbonPeriod::isStarted() — Method in classCarbonPeriod
Return true if start date is now or later.
CarbonPeriod::isEnded() — Method in classCarbonPeriod
Return true if end date is now or later.
CarbonPeriod::isInProgress() — Method in classCarbonPeriod
Return true if now is between start date (included) and end date (excluded).
CarbonPeriod::isFollowedBy() — Method in classCarbonPeriod
Return true if the given other period follows the current one (with no overlap).
CarbonPeriod::isConsecutiveWith() — Method in classCarbonPeriod
Return true if the given period either follows or is followed by the current one.
CarbonPeriod::isCarbonPredicateMethod() — Method in classCarbonPeriod
Return whether given callable is a string pointing to one of Carbon's is* methods and should be automatically converted to a filter callback.
CarbonPeriod::incrementCurrentDateUntilValid() — Method in classCarbonPeriod
Keep incrementing the current date until a valid date is found or the iteration is ended.
CarbonTimeZone::instance() — Method in classCarbonTimeZone
Create a CarbonTimeZone from mixed input.
InvokerClass in namespaceCarbon\Cli
ImmutableExceptionClass in namespaceCarbon\Exceptions
InvalidArgumentExceptionClass in namespaceCarbon\Exceptions
InvalidCastExceptionClass in namespaceCarbon\Exceptions
InvalidDateExceptionClass in namespaceCarbon\Exceptions
InvalidFormatExceptionClass in namespaceCarbon\Exceptions
InvalidIntervalExceptionClass in namespaceCarbon\Exceptions
InvalidPeriodDateExceptionClass in namespaceCarbon\Exceptions
InvalidPeriodParameterExceptionClass in namespaceCarbon\Exceptions
InvalidTimeZoneExceptionClass in namespaceCarbon\Exceptions
InvalidTypeExceptionClass in namespaceCarbon\Exceptions
Factory::instance() — Method in classFactory
Create a Carbon instance from a DateTime one.
Factory::isImmutable() — Method in classFactory
Returns true if the current class/instance is immutable.
Factory::isModifiableUnit() — Method in classFactory
Returns true if a property can be changed via setter.
Factory::isMutable() — Method in classFactory
Returns true if the current class/instance is mutable.
Factory::isStrictModeEnabled() — Method in classFactory
Returns true if the strict mode is globally in use, false else.
FactoryImmutable::instance() — Method in classFactoryImmutable
Create a Carbon instance from a DateTime one.
FactoryImmutable::isImmutable() — Method in classFactoryImmutable
Returns true if the current class/instance is immutable.
FactoryImmutable::isModifiableUnit() — Method in classFactoryImmutable
Returns true if a property can be changed via setter.
FactoryImmutable::isMutable() — Method in classFactoryImmutable
Returns true if the current class/instance is mutable.
FactoryImmutable::isStrictModeEnabled() — Method in classFactoryImmutable
Returns true if the strict mode is globally in use, false else.
$Language#idProperty in classLanguage
$Language#isoNameProperty in classLanguage
ServiceProvider::isEventDispatcher() — Method in classServiceProvider
AbstractMacro::isPrivate() — Method in classAbstractMacro
{@inheritdoc}
AbstractMacro::isPublic() — Method in classAbstractMacro
{@inheritdoc}
AbstractMacro::isFinal() — Method in classAbstractMacro
{@inheritdoc}
AbstractMacro::isInternal() — Method in classAbstractMacro
{@inheritdoc}
AbstractMacro::isAbstract() — Method in classAbstractMacro
{@inheritdoc}
AbstractMacro::isStatic() — Method in classAbstractMacro
{@inheritdoc}
AbstractMacro::isDeprecated() — Method in classAbstractMacro
{@inheritdoc}
AbstractMacro::isVariadic() — Method in classAbstractMacro
{@inheritdoc}
Comparison::isAfter() — Method in classComparison
Determines if the instance is greater (after) than another
Comparison::isBefore() — Method in classComparison
Determines if the instance is less (before) than another
Comparison::isBetween() — Method in classComparison
Determines if the instance is between two others
Comparison::isWeekday() — Method in classComparison
Determines if the instance is a weekday.
Comparison::isWeekend() — Method in classComparison
Determines if the instance is a weekend day.
Comparison::isYesterday() — Method in classComparison
Determines if the instance is yesterday.
Comparison::isToday() — Method in classComparison
Determines if the instance is today.
Comparison::isTomorrow() — Method in classComparison
Determines if the instance is tomorrow.
Comparison::isFuture() — Method in classComparison
Determines if the instance is in the future, ie. greater (after) than now.
Comparison::isPast() — Method in classComparison
Determines if the instance is in the past, ie. less (before) than now.
Comparison::isLeapYear() — Method in classComparison
Determines if the instance is a leap year.
Comparison::isLongYear() — Method in classComparison
Determines if the instance is a long year
Comparison::isSameAs() — Method in classComparison
Compares the formatted values of the two dates.
Comparison::isSameUnit() — Method in classComparison
Determines if the instance is in the current unit given.
Comparison::isCurrentUnit() — Method in classComparison
Determines if the instance is in the current unit given.
Comparison::isSameQuarter() — Method in classComparison
Checks if the passed in date is in the same quarter as the instance quarter (and year if needed).
Comparison::isSameMonth() — Method in classComparison
Checks if the passed in date is in the same month as the instance´s month.
Comparison::isDayOfWeek() — Method in classComparison
Checks if this day is a specific day of the week.
Comparison::isBirthday() — Method in classComparison
Check if its the birthday. Compares the date/month values of the two dates.
Comparison::isLastOfMonth() — Method in classComparison
Check if today is the last day of the Month
Comparison::isStartOfDay() — Method in classComparison
Check if the instance is start of day / midnight.
Comparison::isEndOfDay() — Method in classComparison
Check if the instance is end of day.
Comparison::isMidnight() — Method in classComparison
Check if the instance is start of day / midnight.
Comparison::isMidday() — Method in classComparison
Check if the instance is midday.
Comparison::is() — Method in classComparison
Returns true if the current date matches the given string.
Comparison::isStartOfTime() — Method in classComparison
Returns true if the date was created using CarbonImmutable::startOfTime()
Comparison::isEndOfTime() — Method in classComparison
Returns true if the date was created using CarbonImmutable::endOfTime()
Creator::instance() — Method in classCreator
Create a Carbon instance from a DateTime one.
$Date#isoWeekProperty in classDate
1 through 53
$Date#isoWeekYearProperty in classDate
year according to ISO week format
Date::isoWeekday() — Method in classDate
Get/set the ISO weekday from 1 (Monday) to 7 (Sunday).
Date::isoFormat() — Method in classDate
Format in the current language using ISO replacement patterns.
Date::isUtc() — Method in classDate
Check if the current instance has UTC timezone. (Both isUtc and isUTC cases are valid.)
Date::isLocal() — Method in classDate
Check if the current instance has non-UTC timezone.
Date::isValid() — Method in classDate
Check if the current instance is a valid date.
Date::isDST() — Method in classDate
Check if the current instance is in a daylight saving time.
Date::isSunday() — Method in classDate
Checks if the instance day is sunday.
Date::isMonday() — Method in classDate
Checks if the instance day is monday.
Date::isTuesday() — Method in classDate
Checks if the instance day is tuesday.
Date::isWednesday() — Method in classDate
Checks if the instance day is wednesday.
Date::isThursday() — Method in classDate
Checks if the instance day is thursday.
Date::isFriday() — Method in classDate
Checks if the instance day is friday.
Date::isSaturday() — Method in classDate
Checks if the instance day is saturday.
Date::isSameYear() — Method in classDate
Checks if the given date is in the same year as the instance. If null passed, compare to now (with the same timezone).
Date::isCurrentYear() — Method in classDate
Checks if the instance is in the same year as the current moment.
Date::isNextYear() — Method in classDate
Checks if the instance is in the same year as the current moment next year.
Date::isLastYear() — Method in classDate
Checks if the instance is in the same year as the current moment last year.
Date::isSameWeek() — Method in classDate
Checks if the given date is in the same week as the instance. If null passed, compare to now (with the same timezone).
Date::isCurrentWeek() — Method in classDate
Checks if the instance is in the same week as the current moment.
Date::isNextWeek() — Method in classDate
Checks if the instance is in the same week as the current moment next week.
Date::isLastWeek() — Method in classDate
Checks if the instance is in the same week as the current moment last week.
Date::isSameDay() — Method in classDate
Checks if the given date is in the same day as the instance. If null passed, compare to now (with the same timezone).
Date::isCurrentDay() — Method in classDate
Checks if the instance is in the same day as the current moment.
Date::isNextDay() — Method in classDate
Checks if the instance is in the same day as the current moment next day.
Date::isLastDay() — Method in classDate
Checks if the instance is in the same day as the current moment last day.
Date::isSameHour() — Method in classDate
Checks if the given date is in the same hour as the instance. If null passed, compare to now (with the same timezone).
Date::isCurrentHour() — Method in classDate
Checks if the instance is in the same hour as the current moment.
Date::isNextHour() — Method in classDate
Checks if the instance is in the same hour as the current moment next hour.
Date::isLastHour() — Method in classDate
Checks if the instance is in the same hour as the current moment last hour.
Date::isSameMinute() — Method in classDate
Checks if the given date is in the same minute as the instance. If null passed, compare to now (with the same timezone).
Date::isCurrentMinute() — Method in classDate
Checks if the instance is in the same minute as the current moment.
Date::isNextMinute() — Method in classDate
Checks if the instance is in the same minute as the current moment next minute.
Date::isLastMinute() — Method in classDate
Checks if the instance is in the same minute as the current moment last minute.
Date::isSameSecond() — Method in classDate
Checks if the given date is in the same second as the instance. If null passed, compare to now (with the same timezone).
Date::isCurrentSecond() — Method in classDate
Checks if the instance is in the same second as the current moment.
Date::isNextSecond() — Method in classDate
Checks if the instance is in the same second as the current moment next second.
Date::isLastSecond() — Method in classDate
Checks if the instance is in the same second as the current moment last second.
Date::isSameMicro() — Method in classDate
Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
Date::isCurrentMicro() — Method in classDate
Checks if the instance is in the same microsecond as the current moment.
Date::isNextMicro() — Method in classDate
Checks if the instance is in the same microsecond as the current moment next microsecond.
Date::isLastMicro() — Method in classDate
Checks if the instance is in the same microsecond as the current moment last microsecond.
Date::isSameMicrosecond() — Method in classDate
Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
Date::isCurrentMicrosecond() — Method in classDate
Checks if the instance is in the same microsecond as the current moment.
Date::isNextMicrosecond() — Method in classDate
Checks if the instance is in the same microsecond as the current moment next microsecond.
Date::isLastMicrosecond() — Method in classDate
Checks if the instance is in the same microsecond as the current moment last microsecond.
Date::isCurrentMonth() — Method in classDate
Checks if the instance is in the same month as the current moment.
Date::isNextMonth() — Method in classDate
Checks if the instance is in the same month as the current moment next month.
Date::isLastMonth() — Method in classDate
Checks if the instance is in the same month as the current moment last month.
Date::isCurrentQuarter() — Method in classDate
Checks if the instance is in the same quarter as the current moment.
Date::isNextQuarter() — Method in classDate
Checks if the instance is in the same quarter as the current moment next quarter.
Date::isLastQuarter() — Method in classDate
Checks if the instance is in the same quarter as the current moment last quarter.
Date::isSameDecade() — Method in classDate
Checks if the given date is in the same decade as the instance. If null passed, compare to now (with the same timezone).
Date::isCurrentDecade() — Method in classDate
Checks if the instance is in the same decade as the current moment.
Date::isNextDecade() — Method in classDate
Checks if the instance is in the same decade as the current moment next decade.
Date::isLastDecade() — Method in classDate
Checks if the instance is in the same decade as the current moment last decade.
Date::isSameCentury() — Method in classDate
Checks if the given date is in the same century as the instance. If null passed, compare to now (with the same timezone).
Date::isCurrentCentury() — Method in classDate
Checks if the instance is in the same century as the current moment.
Date::isNextCentury() — Method in classDate
Checks if the instance is in the same century as the current moment next century.
Date::isLastCentury() — Method in classDate
Checks if the instance is in the same century as the current moment last century.
Date::isSameMillennium() — Method in classDate
Checks if the given date is in the same millennium as the instance. If null passed, compare to now (with the same timezone).
Date::isCurrentMillennium() — Method in classDate
Checks if the instance is in the same millennium as the current moment.
Date::isNextMillennium() — Method in classDate
Checks if the instance is in the same millennium as the current moment next millennium.
Date::isLastMillennium() — Method in classDate
Checks if the instance is in the same millennium as the current moment last millennium.
IntervalRoundingClass in namespaceCarbon\Traits
Trait to call rounding methods to interval or the interval of a period.
IntervalStepClass in namespaceCarbon\Traits
Mutability::isMutable() — Method in classMutability
Returns true if the current class/instance is mutable.
Mutability::isImmutable() — Method in classMutability
Returns true if the current class/instance is immutable.
Options::isStrictModeEnabled() — Method in classOptions
Returns true if the strict mode is globally in use, false else.
Units::isModifiableUnit() — Method in classUnits
Returns true if a property can be changed via setter.
Week::isoWeekYear() — Method in classWeek
Set/get the week number of year using given first day of week and first day of year included in the first week. Or use ISO format if no settings given.
Week::isoWeeksInYear() — Method in classWeek
Get the number of weeks of the current week-year using given first day of week and first day of year included in the first week. Or use ISO format if no settings given.
Week::isoWeek() — Method in classWeek
Get/set the week number using given first day of week and first day of year included in the first week. Or use ISO format if no settings given.

J

CarbonInterface::jsonSerialize() — Method in classCarbonInterface
CarbonPeriod::jsonSerialize() — Method in classCarbonPeriod
Language::jsonSerialize() — Method in classLanguage
Serialization::jsonSerialize() — Method in classSerialization

K

$CarbonPeriod#keyProperty in classCarbonPeriod
Index of current date. Always sequential, even if some dates are skipped by filters.
CarbonPeriod::key() — Method in classCarbonPeriod

L

AbstractTranslator::loadMessagesFromFile() — Method in classAbstractTranslator
Init messages language from matching file in Lang directory.
Carbon::longAbsoluteDiffForHumans() — Method in classCarbon
Get the difference (long format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
Carbon::longRelativeDiffForHumans() — Method in classCarbon
Get the difference (long format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
Carbon::longRelativeToNowDiffForHumans() — Method in classCarbon
Get the difference (long format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
Carbon::longRelativeToOtherDiffForHumans() — Method in classCarbon
Get the difference (long format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
CarbonImmutable::longAbsoluteDiffForHumans() — Method in classCarbonImmutable
Get the difference (long format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
CarbonImmutable::longRelativeDiffForHumans() — Method in classCarbonImmutable
Get the difference (long format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
CarbonImmutable::longRelativeToNowDiffForHumans() — Method in classCarbonImmutable
Get the difference (long format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
CarbonImmutable::longRelativeToOtherDiffForHumans() — Method in classCarbonImmutable
Get the difference (long format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
CarbonInterface::lastOfMonth() — Method in classCarbonInterface
Modify to the last occurrence of a given day of the week in the current month. If no dayOfWeek is provided, modify to the last day of the current month. Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
CarbonInterface::lastOfQuarter() — Method in classCarbonInterface
Modify to the last occurrence of a given day of the week in the current quarter. If no dayOfWeek is provided, modify to the last day of the current quarter. Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
CarbonInterface::lastOfYear() — Method in classCarbonInterface
Modify to the last occurrence of a given day of the week in the current year. If no dayOfWeek is provided, modify to the last day of the current year. Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
CarbonInterface::lessThan() — Method in classCarbonInterface
Determines if the instance is less (before) than another
CarbonInterface::lessThanOrEqualTo() — Method in classCarbonInterface
Determines if the instance is less (before) or equal to another
CarbonInterface::locale() — Method in classCarbonInterface
Get/set the locale for the current instance.
CarbonInterface::localeHasDiffOneDayWords() — Method in classCarbonInterface
Returns true if the given locale is internally supported and has words for 1-day diff (just now, yesterday, tomorrow).
CarbonInterface::localeHasDiffSyntax() — Method in classCarbonInterface
Returns true if the given locale is internally supported and has diff syntax support (ago, from now, before, after).
CarbonInterface::localeHasDiffTwoDayWords() — Method in classCarbonInterface
Returns true if the given locale is internally supported and has words for 2-days diff (before yesterday, after tomorrow).
CarbonInterface::localeHasPeriodSyntax() — Method in classCarbonInterface
Returns true if the given locale is internally supported and has period syntax support (X times, every X, from X, to X).
CarbonInterface::localeHasShortUnits() — Method in classCarbonInterface
Returns true if the given locale is internally supported and has short-units support.
CarbonInterface::lt() — Method in classCarbonInterface
Determines if the instance is less (before) than another
CarbonInterface::lte() — Method in classCarbonInterface
Determines if the instance is less (before) or equal to another
CarbonInterface::longAbsoluteDiffForHumans() — Method in classCarbonInterface
Get the difference (long format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
CarbonInterface::longRelativeDiffForHumans() — Method in classCarbonInterface
Get the difference (long format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
CarbonInterface::longRelativeToNowDiffForHumans() — Method in classCarbonInterface
Get the difference (long format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
CarbonInterface::longRelativeToOtherDiffForHumans() — Method in classCarbonInterface
Get the difference (long format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
CarbonInterval::lt() — Method in classCarbonInterval
Determines if the instance is less (shorter) than another
CarbonInterval::lessThan() — Method in classCarbonInterval
Determines if the instance is less (shorter) than another
CarbonInterval::lte() — Method in classCarbonInterval
Determines if the instance is less (shorter) than or equal to another
CarbonInterval::lessThanOrEqualTo() — Method in classCarbonInterval
Determines if the instance is less (shorter) than or equal to another
CarbonPeriod::last() — Method in classCarbonPeriod
Return the last date in the date period.
Factory::localeHasDiffOneDayWords() — Method in classFactory
Returns true if the given locale is internally supported and has words for 1-day diff (just now, yesterday, tomorrow).
Factory::localeHasDiffSyntax() — Method in classFactory
Returns true if the given locale is internally supported and has diff syntax support (ago, from now, before, after).
Factory::localeHasDiffTwoDayWords() — Method in classFactory
Returns true if the given locale is internally supported and has words for 2-days diff (before yesterday, after tomorrow).
Factory::localeHasPeriodSyntax() — Method in classFactory
Returns true if the given locale is internally supported and has period syntax support (X times, every X, from X, to X).
Factory::localeHasShortUnits() — Method in classFactory
Returns true if the given locale is internally supported and has short-units support.
FactoryImmutable::localeHasDiffOneDayWords() — Method in classFactoryImmutable
Returns true if the given locale is internally supported and has words for 1-day diff (just now, yesterday, tomorrow).
FactoryImmutable::localeHasDiffSyntax() — Method in classFactoryImmutable
Returns true if the given locale is internally supported and has diff syntax support (ago, from now, before, after).
FactoryImmutable::localeHasDiffTwoDayWords() — Method in classFactoryImmutable
Returns true if the given locale is internally supported and has words for 2-days diff (before yesterday, after tomorrow).
FactoryImmutable::localeHasPeriodSyntax() — Method in classFactoryImmutable
Returns true if the given locale is internally supported and has period syntax support (X times, every X, from X, to X).
FactoryImmutable::localeHasShortUnits() — Method in classFactoryImmutable
Returns true if the given locale is internally supported and has short-units support.
LanguageClass in namespaceCarbon
$Language#languagesNamesProperty in classLanguage
$ServiceProvider#localeGetterProperty in classServiceProvider
Comparison::lt() — Method in classComparison
Determines if the instance is less (before) than another
Comparison::lessThan() — Method in classComparison
Determines if the instance is less (before) than another
Comparison::lte() — Method in classComparison
Determines if the instance is less (before) or equal to another
Comparison::lessThanOrEqualTo() — Method in classComparison
Determines if the instance is less (before) or equal to another
$Creator#lastErrorsProperty in classCreator
The errors that can occur.
Date::longAbsoluteDiffForHumans() — Method in classDate
Get the difference (long format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
Date::longRelativeDiffForHumans() — Method in classDate
Get the difference (long format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
Date::longRelativeToNowDiffForHumans() — Method in classDate
Get the difference (long format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
Date::longRelativeToOtherDiffForHumans() — Method in classDate
Get the difference (long format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
$DeprecatedProperties#localeDayOfWeekProperty in classDeprecatedProperties
the day of week in current locale LC_TIME
$DeprecatedProperties#localeMonthProperty in classDeprecatedProperties
the month in current locale LC_TIME
Difference::lessThan() — Method in classDifference
LocalizationClass in namespaceCarbon\Traits
Trait Localization.
$Localization#localTranslatorProperty in classLocalization
Specific translator of the current instance.
Localization::locale() — Method in classLocalization
Get/set the locale for the current instance.
Localization::localeHasShortUnits() — Method in classLocalization
Returns true if the given locale is internally supported and has short-units support.
Localization::localeHasDiffSyntax() — Method in classLocalization
Returns true if the given locale is internally supported and has diff syntax support (ago, from now, before, after).
Localization::localeHasDiffOneDayWords() — Method in classLocalization
Returns true if the given locale is internally supported and has words for 1-day diff (just now, yesterday, tomorrow).
Localization::localeHasDiffTwoDayWords() — Method in classLocalization
Returns true if the given locale is internally supported and has words for 2-days diff (before yesterday, after tomorrow).
Localization::localeHasPeriodSyntax() — Method in classLocalization
Returns true if the given locale is internally supported and has period syntax support (X times, every X, from X, to X).
Modifiers::lastOfMonth() — Method in classModifiers
Modify to the last occurrence of a given day of the week in the current month. If no dayOfWeek is provided, modify to the last day of the current month. Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
Modifiers::lastOfQuarter() — Method in classModifiers
Modify to the last occurrence of a given day of the week in the current quarter. If no dayOfWeek is provided, modify to the last day of the current quarter. Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
Modifiers::lastOfYear() — Method in classModifiers
Modify to the last occurrence of a given day of the week in the current year. If no dayOfWeek is provided, modify to the last day of the current year. Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
$Options#localMonthsOverflowProperty in classOptions
Indicates if months should be calculated with overflow.
$Options#localYearsOverflowProperty in classOptions
Indicates if years should be calculated with overflow.
$Options#localStrictModeEnabledProperty in classOptions
Indicates if the strict mode is in use.
$Options#localHumanDiffOptionsProperty in classOptions
Options for diffForHumans and forHumans methods.
$Options#localToStringFormatProperty in classOptions
Format to use on string cast.
$Options#localSerializerProperty in classOptions
Format to use on JSON serialization.
$Options#localMacrosProperty in classOptions
Instance-specific macros.
$Options#localGenericMacrosProperty in classOptions
Instance-specific generic macros.
$Options#localFormatFunctionProperty in classOptions
Function to call instead of format.
Serialization::locale() — Method in classSerialization

M

$AbstractTranslator#messagesProperty in classAbstractTranslator
List of custom localized messages.
$Carbon#monthProperty in classCarbon
$Carbon#minuteProperty in classCarbon
$Carbon#microProperty in classCarbon
$Carbon#microsecondProperty in classCarbon
$Carbon#millisecondsProperty in classCarbon
$Carbon#millisecondProperty in classCarbon
$Carbon#milliProperty in classCarbon
Carbon::microsUntil() — Method in classCarbon
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.
Carbon::microsecondsUntil() — Method in classCarbon
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.
Carbon::millisUntil() — Method in classCarbon
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.
Carbon::millisecondsUntil() — Method in classCarbon
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.
Carbon::minutesUntil() — Method in classCarbon
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.
Carbon::monthsUntil() — Method in classCarbon
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.
Carbon::millenniaUntil() — Method in classCarbon
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.
$CarbonImmutable#monthProperty in classCarbonImmutable
$CarbonImmutable#minuteProperty in classCarbonImmutable
$CarbonImmutable#microProperty in classCarbonImmutable
$CarbonImmutable#microsecondProperty in classCarbonImmutable
$CarbonImmutable#millisecondsProperty in classCarbonImmutable
$CarbonImmutable#millisecondProperty in classCarbonImmutable
$CarbonImmutable#milliProperty in classCarbonImmutable
CarbonImmutable::months() — Method in classCarbonImmutable
Set current instance month to the given value.
CarbonImmutable::month() — Method in classCarbonImmutable
Set current instance month to the given value.
CarbonImmutable::minutes() — Method in classCarbonImmutable
Set current instance minute to the given value.
CarbonImmutable::minute() — Method in classCarbonImmutable
Set current instance minute to the given value.
CarbonImmutable::millis() — Method in classCarbonImmutable
Set current instance millisecond to the given value.
CarbonImmutable::milli() — Method in classCarbonImmutable
Set current instance millisecond to the given value.
CarbonImmutable::milliseconds() — Method in classCarbonImmutable
Set current instance millisecond to the given value.
CarbonImmutable::millisecond() — Method in classCarbonImmutable
Set current instance millisecond to the given value.
CarbonImmutable::micros() — Method in classCarbonImmutable
Set current instance microsecond to the given value.
CarbonImmutable::micro() — Method in classCarbonImmutable
Set current instance microsecond to the given value.
CarbonImmutable::microseconds() — Method in classCarbonImmutable
Set current instance microsecond to the given value.
CarbonImmutable::microsecond() — Method in classCarbonImmutable
Set current instance microsecond to the given value.
CarbonImmutable::microsUntil() — Method in classCarbonImmutable
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.
CarbonImmutable::microsecondsUntil() — Method in classCarbonImmutable
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.
CarbonImmutable::millisUntil() — Method in classCarbonImmutable
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.
CarbonImmutable::millisecondsUntil() — Method in classCarbonImmutable
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.
CarbonImmutable::minutesUntil() — Method in classCarbonImmutable
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.
CarbonImmutable::monthsUntil() — Method in classCarbonImmutable
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.
CarbonImmutable::millenniaUntil() — Method in classCarbonImmutable
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.
$CarbonInterface#monthProperty in classCarbonInterface
$CarbonInterface#minuteProperty in classCarbonInterface
$CarbonInterface#microProperty in classCarbonInterface
$CarbonInterface#microsecondProperty in classCarbonInterface
$CarbonInterface#millisecondsProperty in classCarbonInterface
$CarbonInterface#millisecondProperty in classCarbonInterface
$CarbonInterface#milliProperty in classCarbonInterface
CarbonInterface::macro() — Method in classCarbonInterface
Register a custom macro.
CarbonInterface::make() — Method in classCarbonInterface
Make a Carbon instance from given variable if possible.
CarbonInterface::max() — Method in classCarbonInterface
Get the maximum instance between a given instance (default now) and the current instance.
CarbonInterface::maxValue() — Method in classCarbonInterface
Create a Carbon instance for the greatest supported date.
CarbonInterface::maximum() — Method in classCarbonInterface
Get the maximum instance between a given instance (default now) and the current instance.
CarbonInterface::meridiem() — Method in classCarbonInterface
Return the meridiem of the current time in the current locale.
CarbonInterface::midDay() — Method in classCarbonInterface
Modify to midday, default to self::$midDayAt
CarbonInterface::min() — Method in classCarbonInterface
Get the minimum instance between a given instance (default now) and the current instance.
CarbonInterface::minValue() — Method in classCarbonInterface
Create a Carbon instance for the lowest supported date.
CarbonInterface::minimum() — Method in classCarbonInterface
Get the minimum instance between a given instance (default now) and the current instance.
CarbonInterface::mixin() — Method in classCarbonInterface
Mix another object into the class.
CarbonInterface::modify() — Method in classCarbonInterface
CarbonInterface::months() — Method in classCarbonInterface
Set current instance month to the given value.
CarbonInterface::month() — Method in classCarbonInterface
Set current instance month to the given value.
CarbonInterface::minutes() — Method in classCarbonInterface
Set current instance minute to the given value.
CarbonInterface::minute() — Method in classCarbonInterface
Set current instance minute to the given value.
CarbonInterface::millis() — Method in classCarbonInterface
Set current instance millisecond to the given value.
CarbonInterface::milli() — Method in classCarbonInterface
Set current instance millisecond to the given value.
CarbonInterface::milliseconds() — Method in classCarbonInterface
Set current instance millisecond to the given value.
CarbonInterface::millisecond() — Method in classCarbonInterface
Set current instance millisecond to the given value.
CarbonInterface::micros() — Method in classCarbonInterface
Set current instance microsecond to the given value.
CarbonInterface::micro() — Method in classCarbonInterface
Set current instance microsecond to the given value.
CarbonInterface::microseconds() — Method in classCarbonInterface
Set current instance microsecond to the given value.
CarbonInterface::microsecond() — Method in classCarbonInterface
Set current instance microsecond to the given value.
CarbonInterface::microsUntil() — Method in classCarbonInterface
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.
CarbonInterface::microsecondsUntil() — Method in classCarbonInterface
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.
CarbonInterface::millisUntil() — Method in classCarbonInterface
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.
CarbonInterface::millisecondsUntil() — Method in classCarbonInterface
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.
CarbonInterface::minutesUntil() — Method in classCarbonInterface
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.
CarbonInterface::monthsUntil() — Method in classCarbonInterface
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.
CarbonInterface::millenniaUntil() — Method in classCarbonInterface
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.
$CarbonInterval#macrosProperty in classCarbonInterval
The registered macros.
$CarbonInterval#monthsProperty in classCarbonInterval
Total months of the current interval.
$CarbonInterval#minutesProperty in classCarbonInterval
Total minutes of the current interval.
$CarbonInterval#microsecondsProperty in classCarbonInterval
Total microseconds of the current interval.
$CarbonInterval#millisecondsProperty in classCarbonInterval
Total microseconds of the current interval.
$CarbonInterval#microExcludeMilliProperty in classCarbonInterval
Remaining microseconds without the milliseconds.
CarbonInterval::make() — Method in classCarbonInterval
Make a CarbonInterval instance from given variable if possible.
CarbonInterval::makeFromString() — Method in classCarbonInterval
CarbonInterval::macro() — Method in classCarbonInterval
Register a custom macro.
CarbonInterval::mixin() — Method in classCarbonInterval
Register macros from a mixin object.
CarbonInterval::minus() — Method in classCarbonInterval
Add given parameters to the current interval.
CarbonInterval::multiply() — Method in classCarbonInterval
Multiply and cascade current instance by a given factor.
$CarbonPeriod#macrosProperty in classCarbonPeriod
The registered macros.
CarbonPeriod::make() — Method in classCarbonPeriod
Make a CarbonPeriod instance from given variable if possible.
CarbonPeriod::macro() — Method in classCarbonPeriod
Register a custom macro.
CarbonPeriod::mixin() — Method in classCarbonPeriod
Register macros from a mixin object.
CarbonPeriod::map() — Method in classCarbonPeriod
Execute a given function on each date of the period and yield the result of this function.
$BadFluentConstructorException#methodProperty in classBadFluentConstructorException
The method.
$UnknownMethodException#methodProperty in classUnknownMethodException
The method.
Factory::mergeSettings() — Method in classFactory
Factory::macro() — Method in classFactory
Register a custom macro.
Factory::make() — Method in classFactory
Make a Carbon instance from given variable if possible.
Factory::maxValue() — Method in classFactory
Create a Carbon instance for the greatest supported date.
Factory::minValue() — Method in classFactory
Create a Carbon instance for the lowest supported date.
Factory::mixin() — Method in classFactory
Mix another object into the class.
FactoryImmutable::macro() — Method in classFactoryImmutable
Register a custom macro.
FactoryImmutable::make() — Method in classFactoryImmutable
Make a Carbon instance from given variable if possible.
FactoryImmutable::maxValue() — Method in classFactoryImmutable
Create a Carbon instance for the greatest supported date.
FactoryImmutable::minValue() — Method in classFactoryImmutable
Create a Carbon instance for the lowest supported date.
FactoryImmutable::mixin() — Method in classFactoryImmutable
Mix another object into the class.
MacroClass in namespaceCarbon\PHPStan
MacroExtensionClass in namespaceCarbon\PHPStan
Class MacroExtension.
$MacroExtension#methodReflectionFactoryProperty in classMacroExtension
MacroScannerClass in namespaceCarbon\PHPStan
$Boundaries#monthProperty in classBoundaries
Creator::maxValue() — Method in classCreator
Create a Carbon instance for the greatest supported date.
Creator::minValue() — Method in classCreator
Create a Carbon instance for the lowest supported date.
Creator::make() — Method in classCreator
Make a Carbon instance from given variable if possible.
$Date#monthProperty in classDate
$Date#minuteProperty in classDate
$Date#microProperty in classDate
$Date#microsecondProperty in classDate
$Date#millisecondsProperty in classDate
$Date#millisecondProperty in classDate
$Date#milliProperty in classDate
Date::meridiem() — Method in classDate
Return the meridiem of the current time in the current locale.
Date::months() — Method in classDate
Set current instance month to the given value.
Date::month() — Method in classDate
Set current instance month to the given value.
Date::minutes() — Method in classDate
Set current instance minute to the given value.
Date::minute() — Method in classDate
Set current instance minute to the given value.
Date::millis() — Method in classDate
Set current instance millisecond to the given value.
Date::milli() — Method in classDate
Set current instance millisecond to the given value.
Date::milliseconds() — Method in classDate
Set current instance millisecond to the given value.
Date::millisecond() — Method in classDate
Set current instance millisecond to the given value.
Date::micros() — Method in classDate
Set current instance microsecond to the given value.
Date::micro() — Method in classDate
Set current instance microsecond to the given value.
Date::microseconds() — Method in classDate
Set current instance microsecond to the given value.
Date::microsecond() — Method in classDate
Set current instance microsecond to the given value.
Date::microsUntil() — Method in classDate
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.
Date::microsecondsUntil() — Method in classDate
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.
Date::millisUntil() — Method in classDate
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.
Date::millisecondsUntil() — Method in classDate
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.
Date::minutesUntil() — Method in classDate
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.
Date::monthsUntil() — Method in classDate
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.
Date::millenniaUntil() — Method in classDate
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.
MacroClass in namespaceCarbon\Traits
Trait Macros.
Macro::macro() — Method in classMacro
Register a custom macro.
MixinClass in namespaceCarbon\Traits
Trait Mixin.
$Mixin#macroContextStackProperty in classMixin
Stack of macro instance contexts.
Mixin::mixin() — Method in classMixin
Mix another object into the class.
ModifiersClass in namespaceCarbon\Traits
Trait Modifiers.
$Modifiers#midDayAtProperty in classModifiers
Midday/noon hour.
Modifiers::midDay() — Method in classModifiers
Modify to midday, default to self::$midDayAt
Modifiers::min() — Method in classModifiers
Get the minimum instance between a given instance (default now) and the current instance.
Modifiers::minimum() — Method in classModifiers
Get the minimum instance between a given instance (default now) and the current instance.
Modifiers::max() — Method in classModifiers
Get the maximum instance between a given instance (default now) and the current instance.
Modifiers::maximum() — Method in classModifiers
Get the maximum instance between a given instance (default now) and the current instance.
Modifiers::modify() — Method in classModifiers
MutabilityClass in namespaceCarbon\Traits
Trait Mutability.
$Options#monthsOverflowProperty in classOptions
Indicates if months should be calculated with overflow.
$Serialization#monthProperty in classSerialization
Test::mockConstructorParameters() — Method in classTest

N

CarbonInterface::ne() — Method in classCarbonInterface
Determines if the instance is not equal to another
CarbonInterface::next() — Method in classCarbonInterface
Modify to the next occurrence of a given modifier such as a day of the week. If no modifier is provided, modify to the next occurrence of the current day of the week. Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
CarbonInterface::nextWeekday() — Method in classCarbonInterface
Go forward to the next weekday.
CarbonInterface::nextWeekendDay() — Method in classCarbonInterface
Go forward to the next weekend day.
CarbonInterface::notEqualTo() — Method in classCarbonInterface
Determines if the instance is not equal to another
CarbonInterface::now() — Method in classCarbonInterface
Get a Carbon instance for the current date and time.
CarbonInterface::nowWithSameTz() — Method in classCarbonInterface
Returns a present instance in the same timezone.
CarbonInterface::nthOfMonth() — Method in classCarbonInterface
Modify to the given occurrence of a given day of the week in the current month. If the calculated occurrence is outside the scope of the current month, then return false and no modifications are made.
CarbonInterface::nthOfQuarter() — Method in classCarbonInterface
Modify to the given occurrence of a given day of the week in the current quarter. If the calculated occurrence is outside the scope of the current quarter, then return false and no modifications are made.
CarbonInterface::nthOfYear() — Method in classCarbonInterface
Modify to the given occurrence of a given day of the week in the current year. If the calculated occurrence is outside the scope of the current year, then return false and no modifications are made.
CarbonInterval::ne() — Method in classCarbonInterval
Determines if the instance is not equal to another
CarbonInterval::notEqualTo() — Method in classCarbonInterval
Determines if the instance is not equal to another
CarbonPeriod::next() — Method in classCarbonPeriod
CarbonPeriod::ne() — Method in classCarbonPeriod
Determines if the instance is not equal to another.
CarbonPeriod::notEqualTo() — Method in classCarbonPeriod
Determines if the instance is not equal to another.
NotACarbonClassExceptionClass in namespaceCarbon\Exceptions
NotAPeriodExceptionClass in namespaceCarbon\Exceptions
NotLocaleAwareExceptionClass in namespaceCarbon\Exceptions
Factory::now() — Method in classFactory
Get a Carbon instance for the current date and time.
FactoryImmutable::now() — Method in classFactoryImmutable
Get a Carbon instance for the current date and time.
$Language#namesProperty in classLanguage
$Language#nativeNameProperty in classLanguage
Comparison::ne() — Method in classComparison
Determines if the instance is not equal to another
Comparison::notEqualTo() — Method in classComparison
Determines if the instance is not equal to another
Comparison::nowWithSameTz() — Method in classComparison
Creator::now() — Method in classCreator
Get a Carbon instance for the current date and time.
Date::nowWithSameTz() — Method in classDate
Returns a present instance in the same timezone.
Modifiers::next() — Method in classModifiers
Modify to the next occurrence of a given modifier such as a day of the week. If no modifier is provided, modify to the next occurrence of the current day of the week. Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
Modifiers::nextWeekday() — Method in classModifiers
Go forward to the next weekday.
Modifiers::nextWeekendDay() — Method in classModifiers
Go forward to the next weekend day.
Modifiers::nthOfMonth() — Method in classModifiers
Modify to the given occurrence of a given day of the week in the current month. If the calculated occurrence is outside the scope of the current month, then return false and no modifications are made.
Modifiers::nthOfQuarter() — Method in classModifiers
Modify to the given occurrence of a given day of the week in the current quarter. If the calculated occurrence is outside the scope of the current quarter, then return false and no modifications are made.
Modifiers::nthOfYear() — Method in classModifiers
Modify to the given occurrence of a given day of the week in the current year. If the calculated occurrence is outside the scope of the current year, then return false and no modifications are made.
Week::next() — Method in classWeek

O

$Carbon#offsetProperty in classCarbon
the timezone offset in seconds from UTC
$Carbon#offsetMinutesProperty in classCarbon
the timezone offset in minutes from UTC
$Carbon#offsetHoursProperty in classCarbon
the timezone offset in hours from UTC
$CarbonImmutable#offsetProperty in classCarbonImmutable
the timezone offset in seconds from UTC
$CarbonImmutable#offsetMinutesProperty in classCarbonImmutable
the timezone offset in minutes from UTC
$CarbonImmutable#offsetHoursProperty in classCarbonImmutable
the timezone offset in hours from UTC
$CarbonInterface#offsetProperty in classCarbonInterface
the timezone offset in seconds from UTC
$CarbonInterface#offsetMinutesProperty in classCarbonInterface
the timezone offset in minutes from UTC
$CarbonInterface#offsetHoursProperty in classCarbonInterface
the timezone offset in hours from UTC
CarbonInterface::ordinal() — Method in classCarbonInterface
Return a property with its ordinal.
$CarbonPeriod#optionsProperty in classCarbonPeriod
Iteration options.
CarbonPeriod::overlaps() — Method in classCarbonPeriod
Returns true if the current period overlaps the given one (if 1 parameter passed) or the period between 2 dates (if 2 parameters passed).
OutOfRangeExceptionClass in namespaceCarbon\Exceptions
$Date#offsetProperty in classDate
the timezone offset in seconds from UTC
$Date#offsetMinutesProperty in classDate
the timezone offset in minutes from UTC
$Date#offsetHoursProperty in classDate
the timezone offset in hours from UTC
Date::ordinal() — Method in classDate
Return a property with its ordinal.
ObjectInitialisationClass in namespaceCarbon\Traits
OptionsClass in namespaceCarbon\Traits
Trait Options.

P

CarbonInterface::parse() — Method in classCarbonInterface
Create a carbon instance from a string.
CarbonInterface::parseFromLocale() — Method in classCarbonInterface
Create a carbon instance from a localized string (in French, Japanese, Arabic, etc.).
CarbonInterface::pluralUnit() — Method in classCarbonInterface
Returns standardized plural of a given singular/plural unit name (in English).
CarbonInterface::previous() — Method in classCarbonInterface
Modify to the previous occurrence of a given modifier such as a day of the week. If no dayOfWeek is provided, modify to the previous occurrence of the current day of the week. Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
CarbonInterface::previousWeekday() — Method in classCarbonInterface
Go backward to the previous weekday.
CarbonInterface::previousWeekendDay() — Method in classCarbonInterface
Go backward to the previous weekend day.
CarbonInterval::parseFromLocale() — Method in classCarbonInterval
Creates a CarbonInterval from string using a different locale.
CarbonInterval::plus() — Method in classCarbonInterval
Add given parameters to the current interval.
CarbonPeriod::parseIso8601() — Method in classCarbonPeriod
Parse given ISO 8601 string into an array of arguments.
CarbonPeriod::prependFilter() — Method in classCarbonPeriod
Prepend a filter to the stack.
CarbonPeriod::prepareForReturn() — Method in classCarbonPeriod
Prepare given date to be returned to the external logic.
CarbonTimeZone::parseNumericTimezone() — Method in classCarbonTimeZone
ParseErrorExceptionClass in namespaceCarbon\Exceptions
Factory::parse() — Method in classFactory
Create a carbon instance from a string.
Factory::parseFromLocale() — Method in classFactory
Create a carbon instance from a localized string (in French, Japanese, Arabic, etc.).
Factory::pluralUnit() — Method in classFactory
Returns standardized plural of a given singular/plural unit name (in English).
FactoryImmutable::parse() — Method in classFactoryImmutable
Create a carbon instance from a string.
FactoryImmutable::parseFromLocale() — Method in classFactoryImmutable
Create a carbon instance from a localized string (in French, Japanese, Arabic, etc.).
FactoryImmutable::pluralUnit() — Method in classFactoryImmutable
Returns standardized plural of a given singular/plural unit name (in English).
Creator::parse() — Method in classCreator
Create a carbon instance from a string.
Creator::parseFromLocale() — Method in classCreator
Create a carbon instance from a localized string (in French, Japanese, Arabic, etc.).
Date::pluralUnit() — Method in classDate
Returns standardized plural of a given singular/plural unit name (in English).
Modifiers::previousWeekday() — Method in classModifiers
Go backward to the previous weekday.
Modifiers::previousWeekendDay() — Method in classModifiers
Go backward to the previous weekend day.
Modifiers::previous() — Method in classModifiers
Modify to the previous occurrence of a given modifier such as a day of the week. If no dayOfWeek is provided, modify to the previous occurrence of the current day of the week. Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
$Options#PHPIntSizeProperty in classOptions
Customizable PHP_INT_SIZE override.
$Options#parseFunctionProperty in classOptions
Function to call instead of parse.

Q

Carbon::quartersUntil() — Method in classCarbon
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.
CarbonImmutable::quartersUntil() — Method in classCarbonImmutable
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.
CarbonInterface::quartersUntil() — Method in classCarbonInterface
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.
$Boundaries#quarterProperty in classBoundaries
Depends on the following methods:
Date::quartersUntil() — Method in classDate
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.
$Serialization#quarterProperty in classSerialization
Depends on the following methods:

R

AbstractTranslator::removeDirectory() — Method in classAbstractTranslator
Remove a directory from the list translation files are searched in.
AbstractTranslator::resetMessages() — Method in classAbstractTranslator
Reset messages of a locale (all locale if no locale passed).
CarbonImmutable::roundYear() — Method in classCarbonImmutable
Round the current instance year with given precision using the given function.
CarbonImmutable::roundYears() — Method in classCarbonImmutable
Round the current instance year with given precision using the given function.
CarbonImmutable::roundMonth() — Method in classCarbonImmutable
Round the current instance month with given precision using the given function.
CarbonImmutable::roundMonths() — Method in classCarbonImmutable
Round the current instance month with given precision using the given function.
CarbonImmutable::roundDay() — Method in classCarbonImmutable
Round the current instance day with given precision using the given function.
CarbonImmutable::roundDays() — Method in classCarbonImmutable
Round the current instance day with given precision using the given function.
CarbonImmutable::roundHour() — Method in classCarbonImmutable
Round the current instance hour with given precision using the given function.
CarbonImmutable::roundHours() — Method in classCarbonImmutable
Round the current instance hour with given precision using the given function.
CarbonImmutable::roundMinute() — Method in classCarbonImmutable
Round the current instance minute with given precision using the given function.
CarbonImmutable::roundMinutes() — Method in classCarbonImmutable
Round the current instance minute with given precision using the given function.
CarbonImmutable::roundSecond() — Method in classCarbonImmutable
Round the current instance second with given precision using the given function.
CarbonImmutable::roundSeconds() — Method in classCarbonImmutable
Round the current instance second with given precision using the given function.
CarbonImmutable::roundMillennium() — Method in classCarbonImmutable
Round the current instance millennium with given precision using the given function.
CarbonImmutable::roundMillennia() — Method in classCarbonImmutable
Round the current instance millennium with given precision using the given function.
CarbonImmutable::roundCentury() — Method in classCarbonImmutable
Round the current instance century with given precision using the given function.
CarbonImmutable::roundCenturies() — Method in classCarbonImmutable
Round the current instance century with given precision using the given function.
CarbonImmutable::roundDecade() — Method in classCarbonImmutable
Round the current instance decade with given precision using the given function.
CarbonImmutable::roundDecades() — Method in classCarbonImmutable
Round the current instance decade with given precision using the given function.
CarbonImmutable::roundQuarter() — Method in classCarbonImmutable
Round the current instance quarter with given precision using the given function.
CarbonImmutable::roundQuarters() — Method in classCarbonImmutable
Round the current instance quarter with given precision using the given function.
CarbonImmutable::roundMillisecond() — Method in classCarbonImmutable
Round the current instance millisecond with given precision using the given function.
CarbonImmutable::roundMilliseconds() — Method in classCarbonImmutable
Round the current instance millisecond with given precision using the given function.
CarbonImmutable::roundMicrosecond() — Method in classCarbonImmutable
Round the current instance microsecond with given precision using the given function.
CarbonImmutable::roundMicroseconds() — Method in classCarbonImmutable
Round the current instance microsecond with given precision using the given function.
CarbonInterface::range() — Method in classCarbonInterface
Create a iterable CarbonPeriod object from current date to a given end date (and optional interval).
CarbonInterface::rawAdd() — Method in classCarbonInterface
Call native PHP DateTime/DateTimeImmutable add() method.
CarbonInterface::rawCreateFromFormat() — Method in classCarbonInterface
Create a Carbon instance from a specific format.
CarbonInterface::rawFormat() — Method in classCarbonInterface
CarbonInterface::rawParse() — Method in classCarbonInterface
Create a carbon instance from a string.
CarbonInterface::rawSub() — Method in classCarbonInterface
Call native PHP DateTime/DateTimeImmutable sub() method.
CarbonInterface::resetMacros() — Method in classCarbonInterface
Remove all macros and generic macros.
CarbonInterface::resetMonthsOverflow() — Method in classCarbonInterface
CarbonInterface::resetToStringFormat() — Method in classCarbonInterface
Reset the format used to the default when type juggling a Carbon instance to a string
CarbonInterface::resetYearsOverflow() — Method in classCarbonInterface
CarbonInterface::round() — Method in classCarbonInterface
Round the current instance second with given precision if specified.
CarbonInterface::roundUnit() — Method in classCarbonInterface
Round the current instance at the given unit with given precision if specified and the given function.
CarbonInterface::roundWeek() — Method in classCarbonInterface
Round the current instance week.
CarbonInterface::roundYear() — Method in classCarbonInterface
Round the current instance year with given precision using the given function.
CarbonInterface::roundYears() — Method in classCarbonInterface
Round the current instance year with given precision using the given function.
CarbonInterface::roundMonth() — Method in classCarbonInterface
Round the current instance month with given precision using the given function.
CarbonInterface::roundMonths() — Method in classCarbonInterface
Round the current instance month with given precision using the given function.
CarbonInterface::roundDay() — Method in classCarbonInterface
Round the current instance day with given precision using the given function.
CarbonInterface::roundDays() — Method in classCarbonInterface
Round the current instance day with given precision using the given function.
CarbonInterface::roundHour() — Method in classCarbonInterface
Round the current instance hour with given precision using the given function.
CarbonInterface::roundHours() — Method in classCarbonInterface
Round the current instance hour with given precision using the given function.
CarbonInterface::roundMinute() — Method in classCarbonInterface
Round the current instance minute with given precision using the given function.
CarbonInterface::roundMinutes() — Method in classCarbonInterface
Round the current instance minute with given precision using the given function.
CarbonInterface::roundSecond() — Method in classCarbonInterface
Round the current instance second with given precision using the given function.
CarbonInterface::roundSeconds() — Method in classCarbonInterface
Round the current instance second with given precision using the given function.
CarbonInterface::roundMillennium() — Method in classCarbonInterface
Round the current instance millennium with given precision using the given function.
CarbonInterface::roundMillennia() — Method in classCarbonInterface
Round the current instance millennium with given precision using the given function.
CarbonInterface::roundCentury() — Method in classCarbonInterface
Round the current instance century with given precision using the given function.
CarbonInterface::roundCenturies() — Method in classCarbonInterface
Round the current instance century with given precision using the given function.
CarbonInterface::roundDecade() — Method in classCarbonInterface
Round the current instance decade with given precision using the given function.
CarbonInterface::roundDecades() — Method in classCarbonInterface
Round the current instance decade with given precision using the given function.
CarbonInterface::roundQuarter() — Method in classCarbonInterface
Round the current instance quarter with given precision using the given function.
CarbonInterface::roundQuarters() — Method in classCarbonInterface
Round the current instance quarter with given precision using the given function.
CarbonInterface::roundMillisecond() — Method in classCarbonInterface
Round the current instance millisecond with given precision using the given function.
CarbonInterface::roundMilliseconds() — Method in classCarbonInterface
Round the current instance millisecond with given precision using the given function.
CarbonInterface::roundMicrosecond() — Method in classCarbonInterface
Round the current instance microsecond with given precision using the given function.
CarbonInterface::roundMicroseconds() — Method in classCarbonInterface
Round the current instance microsecond with given precision using the given function.
CarbonInterval::resolveInterval() — Method in classCarbonInterval
CarbonInterval::roundUnit() — Method in classCarbonInterval
Round the current instance at the given unit with given precision if specified and the given function.
CarbonInterval::round() — Method in classCarbonInterval
Round the current instance second with given precision if specified.
$CarbonPeriod#recurrencesProperty in classCarbonPeriod
Limit for number of recurrences. Applied via a filter.
CarbonPeriod::removeFilter() — Method in classCarbonPeriod
Remove a filter by instance or name.
CarbonPeriod::resetFilters() — Method in classCarbonPeriod
Reset filters stack.
CarbonPeriod::rewind() — Method in classCarbonPeriod
CarbonPeriod::roundUnit() — Method in classCarbonPeriod
Round the current instance at the given unit with given precision if specified and the given function.
CarbonPeriod::round() — Method in classCarbonPeriod
Round the current instance second with given precision if specified (else period interval is used).
CarbonPeriod::resolveCarbon() — Method in classCarbonPeriod
Return the Carbon instance passed through, a now instance in the same timezone if null given or parse the input if string given.
CarbonPeriod::resolveCarbonPeriod() — Method in classCarbonPeriod
Resolve passed arguments or DatePeriod to a CarbonPeriod object.
Invoker::runWithCli() — Method in classInvoker
CarbonImmutableType::requiresSQLCommentHint() — Method in classCarbonImmutableType
{@inheritdoc}
CarbonType::requiresSQLCommentHint() — Method in classCarbonType
{@inheritdoc}
RuntimeExceptionClass in namespaceCarbon\Exceptions
Factory::rawCreateFromFormat() — Method in classFactory
Create a Carbon instance from a specific format.
Factory::rawParse() — Method in classFactory
Create a carbon instance from a string.
Factory::resetMacros() — Method in classFactory
Remove all macros and generic macros.
Factory::resetMonthsOverflow() — Method in classFactory
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
Factory::resetToStringFormat() — Method in classFactory
Reset the format used to the default when type juggling a Carbon instance to a string
Factory::resetYearsOverflow() — Method in classFactory
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
FactoryImmutable::rawCreateFromFormat() — Method in classFactoryImmutable
Create a Carbon instance from a specific format.
FactoryImmutable::rawParse() — Method in classFactoryImmutable
Create a carbon instance from a string.
FactoryImmutable::resetMacros() — Method in classFactoryImmutable
Remove all macros and generic macros.
FactoryImmutable::resetMonthsOverflow() — Method in classFactoryImmutable
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
FactoryImmutable::resetToStringFormat() — Method in classFactoryImmutable
Reset the format used to the default when type juggling a Carbon instance to a string
FactoryImmutable::resetYearsOverflow() — Method in classFactoryImmutable
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
$Language#regionsNamesProperty in classLanguage
$Language#regionProperty in classLanguage
Language::regions() — Method in classLanguage
Get the list of the known regions.
ServiceProvider::register() — Method in classServiceProvider
$AbstractMacro#reflectionFunctionProperty in classAbstractMacro
The reflection function/method.
Comparison::resolveCarbon() — Method in classComparison
Converter::resetToStringFormat() — Method in classConverter
Reset the format used to the default when type juggling a Carbon instance to a string
Converter::rawFormat() — Method in classConverter
Converter::range() — Method in classConverter
Create a iterable CarbonPeriod object from current date to a given end date (and optional interval).
Creator::rawParse() — Method in classCreator
Create a carbon instance from a string.
Creator::rawCreateFromFormat() — Method in classCreator
Create a Carbon instance from a specific format.
Date::resolveCarbon() — Method in classDate
Return the Carbon instance passed through, a now instance in the same timezone if null given or parse the input if string given.
Date::resolveUTC() — Method in classDate
Return the Carbon instance passed through, a now instance in UTC if null given or parse the input if string given (using current timezone then switching to UTC).
Date::roundYear() — Method in classDate
Round the current instance year with given precision using the given function.
Date::roundYears() — Method in classDate
Round the current instance year with given precision using the given function.
Date::roundMonth() — Method in classDate
Round the current instance month with given precision using the given function.
Date::roundMonths() — Method in classDate
Round the current instance month with given precision using the given function.
Date::roundDay() — Method in classDate
Round the current instance day with given precision using the given function.
Date::roundDays() — Method in classDate
Round the current instance day with given precision using the given function.
Date::roundHour() — Method in classDate
Round the current instance hour with given precision using the given function.
Date::roundHours() — Method in classDate
Round the current instance hour with given precision using the given function.
Date::roundMinute() — Method in classDate
Round the current instance minute with given precision using the given function.
Date::roundMinutes() — Method in classDate
Round the current instance minute with given precision using the given function.
Date::roundSecond() — Method in classDate
Round the current instance second with given precision using the given function.
Date::roundSeconds() — Method in classDate
Round the current instance second with given precision using the given function.
Date::roundMillennium() — Method in classDate
Round the current instance millennium with given precision using the given function.
Date::roundMillennia() — Method in classDate
Round the current instance millennium with given precision using the given function.
Date::roundCentury() — Method in classDate
Round the current instance century with given precision using the given function.
Date::roundCenturies() — Method in classDate
Round the current instance century with given precision using the given function.
Date::roundDecade() — Method in classDate
Round the current instance decade with given precision using the given function.
Date::roundDecades() — Method in classDate
Round the current instance decade with given precision using the given function.
Date::roundQuarter() — Method in classDate
Round the current instance quarter with given precision using the given function.
Date::roundQuarters() — Method in classDate
Round the current instance quarter with given precision using the given function.
Date::roundMillisecond() — Method in classDate
Round the current instance millisecond with given precision using the given function.
Date::roundMilliseconds() — Method in classDate
Round the current instance millisecond with given precision using the given function.
Date::roundMicrosecond() — Method in classDate
Round the current instance microsecond with given precision using the given function.
Date::roundMicroseconds() — Method in classDate
Round the current instance microsecond with given precision using the given function.
Difference::resolveCarbon() — Method in classDifference
IntervalRounding::roundWith() — Method in classIntervalRounding
Macro::resetMacros() — Method in classMacro
Remove all macros and generic macros.
$Options#regexFormatsProperty in classOptions
Format regex patterns.
$Options#regexFormatModifiersProperty in classOptions
Format modifiers (such as available in createFromFormat) regex patterns.
Options::resetMonthsOverflow() — Method in classOptions
Options::resetYearsOverflow() — Method in classOptions
RoundingClass in namespaceCarbon\Traits
Trait Rounding.
Rounding::roundUnit() — Method in classRounding
Round the current instance at the given unit with given precision if specified and the given function.
Rounding::round() — Method in classRounding
Round the current instance second with given precision if specified.
Rounding::roundWeek() — Method in classRounding
Round the current instance week.
Units::rawAdd() — Method in classUnits
Call native PHP DateTime/DateTimeImmutable add() method.
Units::rawSub() — Method in classUnits
Call native PHP DateTime/DateTimeImmutable sub() method.
TranslatorImmutable::resetMessages() — Method in classTranslatorImmutable

S

$AbstractTranslator#singletonsProperty in classAbstractTranslator
Translator singletons for each language.
AbstractTranslator::setDirectories() — Method in classAbstractTranslator
Set list of directories translation files are searched in.
AbstractTranslator::setMessages() — Method in classAbstractTranslator
Set messages of a locale and take file first if present.
AbstractTranslator::setTranslations() — Method in classAbstractTranslator
Set messages of the current locale and take file first if present.
AbstractTranslator::setLocale() — Method in classAbstractTranslator
Set the current translator locale and indicate if the source locale file exists
$Carbon#secondProperty in classCarbon
$Carbon#shortEnglishDayOfWeekProperty in classCarbon
the abbreviated day of week in English
$Carbon#shortEnglishMonthProperty in classCarbon
the abbreviated month in English
Carbon::secondsUntil() — Method in classCarbon
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.
Carbon::shortAbsoluteDiffForHumans() — Method in classCarbon
Get the difference (short format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
Carbon::shortRelativeDiffForHumans() — Method in classCarbon
Get the difference (short format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
Carbon::shortRelativeToNowDiffForHumans() — Method in classCarbon
Get the difference (short format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
Carbon::shortRelativeToOtherDiffForHumans() — Method in classCarbon
Get the difference (short format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
$CarbonImmutable#secondProperty in classCarbonImmutable
$CarbonImmutable#shortEnglishDayOfWeekProperty in classCarbonImmutable
the abbreviated day of week in English
$CarbonImmutable#shortEnglishMonthProperty in classCarbonImmutable
the abbreviated month in English
CarbonImmutable::startOfTime() — Method in classCarbonImmutable
Create a very old date representing start of time.
CarbonImmutable::setYears() — Method in classCarbonImmutable
Set current instance year to the given value.
CarbonImmutable::setYear() — Method in classCarbonImmutable
Set current instance year to the given value.
CarbonImmutable::setMonths() — Method in classCarbonImmutable
Set current instance month to the given value.
CarbonImmutable::setMonth() — Method in classCarbonImmutable
Set current instance month to the given value.
CarbonImmutable::setDays() — Method in classCarbonImmutable
Set current instance day to the given value.
CarbonImmutable::setDay() — Method in classCarbonImmutable
Set current instance day to the given value.
CarbonImmutable::setHours() — Method in classCarbonImmutable
Set current instance hour to the given value.
CarbonImmutable::setHour() — Method in classCarbonImmutable
Set current instance hour to the given value.
CarbonImmutable::setMinutes() — Method in classCarbonImmutable
Set current instance minute to the given value.
CarbonImmutable::setMinute() — Method in classCarbonImmutable
Set current instance minute to the given value.
CarbonImmutable::seconds() — Method in classCarbonImmutable
Set current instance second to the given value.
CarbonImmutable::second() — Method in classCarbonImmutable
Set current instance second to the given value.
CarbonImmutable::setSeconds() — Method in classCarbonImmutable
Set current instance second to the given value.
CarbonImmutable::setSecond() — Method in classCarbonImmutable
Set current instance second to the given value.
CarbonImmutable::setMillis() — Method in classCarbonImmutable
Set current instance millisecond to the given value.
CarbonImmutable::setMilli() — Method in classCarbonImmutable
Set current instance millisecond to the given value.
CarbonImmutable::setMilliseconds() — Method in classCarbonImmutable
Set current instance millisecond to the given value.
CarbonImmutable::setMillisecond() — Method in classCarbonImmutable
Set current instance millisecond to the given value.
CarbonImmutable::setMicros() — Method in classCarbonImmutable
Set current instance microsecond to the given value.
CarbonImmutable::setMicro() — Method in classCarbonImmutable
Set current instance microsecond to the given value.
CarbonImmutable::setMicroseconds() — Method in classCarbonImmutable
Set current instance microsecond to the given value.
CarbonImmutable::setMicrosecond() — Method in classCarbonImmutable
Set current instance microsecond to the given value.
CarbonImmutable::subYears() — Method in classCarbonImmutable
Sub years (the $value count passed in) to the instance (using date interval).
CarbonImmutable::subYear() — Method in classCarbonImmutable
Sub one year to the instance (using date interval).
CarbonImmutable::subYearsWithOverflow() — Method in classCarbonImmutable
Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::subYearWithOverflow() — Method in classCarbonImmutable
Sub one year to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::subYearsWithoutOverflow() — Method in classCarbonImmutable
Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subYearWithoutOverflow() — Method in classCarbonImmutable
Sub one year to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subYearsWithNoOverflow() — Method in classCarbonImmutable
Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subYearWithNoOverflow() — Method in classCarbonImmutable
Sub one year to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subYearsNoOverflow() — Method in classCarbonImmutable
Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subYearNoOverflow() — Method in classCarbonImmutable
Sub one year to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subMonths() — Method in classCarbonImmutable
Sub months (the $value count passed in) to the instance (using date interval).
CarbonImmutable::subMonth() — Method in classCarbonImmutable
Sub one month to the instance (using date interval).
CarbonImmutable::subMonthsWithOverflow() — Method in classCarbonImmutable
Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::subMonthWithOverflow() — Method in classCarbonImmutable
Sub one month to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::subMonthsWithoutOverflow() — Method in classCarbonImmutable
Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subMonthWithoutOverflow() — Method in classCarbonImmutable
Sub one month to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subMonthsWithNoOverflow() — Method in classCarbonImmutable
Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subMonthWithNoOverflow() — Method in classCarbonImmutable
Sub one month to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subMonthsNoOverflow() — Method in classCarbonImmutable
Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subMonthNoOverflow() — Method in classCarbonImmutable
Sub one month to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subDays() — Method in classCarbonImmutable
Sub days (the $value count passed in) to the instance (using date interval).
CarbonImmutable::subDay() — Method in classCarbonImmutable
Sub one day to the instance (using date interval).
CarbonImmutable::subHours() — Method in classCarbonImmutable
Sub hours (the $value count passed in) to the instance (using date interval).
CarbonImmutable::subHour() — Method in classCarbonImmutable
Sub one hour to the instance (using date interval).
CarbonImmutable::subMinutes() — Method in classCarbonImmutable
Sub minutes (the $value count passed in) to the instance (using date interval).
CarbonImmutable::subMinute() — Method in classCarbonImmutable
Sub one minute to the instance (using date interval).
CarbonImmutable::subSeconds() — Method in classCarbonImmutable
Sub seconds (the $value count passed in) to the instance (using date interval).
CarbonImmutable::subSecond() — Method in classCarbonImmutable
Sub one second to the instance (using date interval).
CarbonImmutable::subMillis() — Method in classCarbonImmutable
Sub milliseconds (the $value count passed in) to the instance (using date interval).
CarbonImmutable::subMilli() — Method in classCarbonImmutable
Sub one millisecond to the instance (using date interval).
CarbonImmutable::subMilliseconds() — Method in classCarbonImmutable
Sub milliseconds (the $value count passed in) to the instance (using date interval).
CarbonImmutable::subMillisecond() — Method in classCarbonImmutable
Sub one millisecond to the instance (using date interval).
CarbonImmutable::subMicros() — Method in classCarbonImmutable
Sub microseconds (the $value count passed in) to the instance (using date interval).
CarbonImmutable::subMicro() — Method in classCarbonImmutable
Sub one microsecond to the instance (using date interval).
CarbonImmutable::subMicroseconds() — Method in classCarbonImmutable
Sub microseconds (the $value count passed in) to the instance (using date interval).
CarbonImmutable::subMicrosecond() — Method in classCarbonImmutable
Sub one microsecond to the instance (using date interval).
CarbonImmutable::subMillennia() — Method in classCarbonImmutable
Sub millennia (the $value count passed in) to the instance (using date interval).
CarbonImmutable::subMillennium() — Method in classCarbonImmutable
Sub one millennium to the instance (using date interval).
CarbonImmutable::subMillenniaWithOverflow() — Method in classCarbonImmutable
Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::subMillenniumWithOverflow() — Method in classCarbonImmutable
Sub one millennium to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::subMillenniaWithoutOverflow() — Method in classCarbonImmutable
Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subMillenniumWithoutOverflow() — Method in classCarbonImmutable
Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subMillenniaWithNoOverflow() — Method in classCarbonImmutable
Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subMillenniumWithNoOverflow() — Method in classCarbonImmutable
Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subMillenniaNoOverflow() — Method in classCarbonImmutable
Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subMillenniumNoOverflow() — Method in classCarbonImmutable
Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subCenturies() — Method in classCarbonImmutable
Sub centuries (the $value count passed in) to the instance (using date interval).
CarbonImmutable::subCentury() — Method in classCarbonImmutable
Sub one century to the instance (using date interval).
CarbonImmutable::subCenturiesWithOverflow() — Method in classCarbonImmutable
Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::subCenturyWithOverflow() — Method in classCarbonImmutable
Sub one century to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::subCenturiesWithoutOverflow() — Method in classCarbonImmutable
Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subCenturyWithoutOverflow() — Method in classCarbonImmutable
Sub one century to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subCenturiesWithNoOverflow() — Method in classCarbonImmutable
Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subCenturyWithNoOverflow() — Method in classCarbonImmutable
Sub one century to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subCenturiesNoOverflow() — Method in classCarbonImmutable
Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subCenturyNoOverflow() — Method in classCarbonImmutable
Sub one century to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subDecades() — Method in classCarbonImmutable
Sub decades (the $value count passed in) to the instance (using date interval).
CarbonImmutable::subDecade() — Method in classCarbonImmutable
Sub one decade to the instance (using date interval).
CarbonImmutable::subDecadesWithOverflow() — Method in classCarbonImmutable
Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::subDecadeWithOverflow() — Method in classCarbonImmutable
Sub one decade to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::subDecadesWithoutOverflow() — Method in classCarbonImmutable
Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subDecadeWithoutOverflow() — Method in classCarbonImmutable
Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subDecadesWithNoOverflow() — Method in classCarbonImmutable
Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subDecadeWithNoOverflow() — Method in classCarbonImmutable
Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subDecadesNoOverflow() — Method in classCarbonImmutable
Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subDecadeNoOverflow() — Method in classCarbonImmutable
Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subQuarters() — Method in classCarbonImmutable
Sub quarters (the $value count passed in) to the instance (using date interval).
CarbonImmutable::subQuarter() — Method in classCarbonImmutable
Sub one quarter to the instance (using date interval).
CarbonImmutable::subQuartersWithOverflow() — Method in classCarbonImmutable
Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::subQuarterWithOverflow() — Method in classCarbonImmutable
Sub one quarter to the instance (using date interval) with overflow explicitly allowed.
CarbonImmutable::subQuartersWithoutOverflow() — Method in classCarbonImmutable
Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subQuarterWithoutOverflow() — Method in classCarbonImmutable
Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subQuartersWithNoOverflow() — Method in classCarbonImmutable
Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subQuarterWithNoOverflow() — Method in classCarbonImmutable
Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subQuartersNoOverflow() — Method in classCarbonImmutable
Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subQuarterNoOverflow() — Method in classCarbonImmutable
Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
CarbonImmutable::subWeeks() — Method in classCarbonImmutable
Sub weeks (the $value count passed in) to the instance (using date interval).
CarbonImmutable::subWeek() — Method in classCarbonImmutable
Sub one week to the instance (using date interval).
CarbonImmutable::subWeekdays() — Method in classCarbonImmutable
Sub weekdays (the $value count passed in) to the instance (using date interval).
CarbonImmutable::subWeekday() — Method in classCarbonImmutable
Sub one weekday to the instance (using date interval).
CarbonImmutable::subRealMicros() — Method in classCarbonImmutable
Sub microseconds (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::subRealMicro() — Method in classCarbonImmutable
Sub one microsecond to the instance (using timestamp).
CarbonImmutable::subRealMicroseconds() — Method in classCarbonImmutable
Sub microseconds (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::subRealMicrosecond() — Method in classCarbonImmutable
Sub one microsecond to the instance (using timestamp).
CarbonImmutable::subRealMillis() — Method in classCarbonImmutable
Sub milliseconds (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::subRealMilli() — Method in classCarbonImmutable
Sub one millisecond to the instance (using timestamp).
CarbonImmutable::subRealMilliseconds() — Method in classCarbonImmutable
Sub milliseconds (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::subRealMillisecond() — Method in classCarbonImmutable
Sub one millisecond to the instance (using timestamp).
CarbonImmutable::subRealSeconds() — Method in classCarbonImmutable
Sub seconds (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::subRealSecond() — Method in classCarbonImmutable
Sub one second to the instance (using timestamp).
CarbonImmutable::secondsUntil() — Method in classCarbonImmutable
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.
CarbonImmutable::subRealMinutes() — Method in classCarbonImmutable
Sub minutes (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::subRealMinute() — Method in classCarbonImmutable
Sub one minute to the instance (using timestamp).
CarbonImmutable::subRealHours() — Method in classCarbonImmutable
Sub hours (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::subRealHour() — Method in classCarbonImmutable
Sub one hour to the instance (using timestamp).
CarbonImmutable::subRealDays() — Method in classCarbonImmutable
Sub days (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::subRealDay() — Method in classCarbonImmutable
Sub one day to the instance (using timestamp).
CarbonImmutable::subRealWeeks() — Method in classCarbonImmutable
Sub weeks (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::subRealWeek() — Method in classCarbonImmutable
Sub one week to the instance (using timestamp).
CarbonImmutable::subRealMonths() — Method in classCarbonImmutable
Sub months (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::subRealMonth() — Method in classCarbonImmutable
Sub one month to the instance (using timestamp).
CarbonImmutable::subRealQuarters() — Method in classCarbonImmutable
Sub quarters (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::subRealQuarter() — Method in classCarbonImmutable
Sub one quarter to the instance (using timestamp).
CarbonImmutable::subRealYears() — Method in classCarbonImmutable
Sub years (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::subRealYear() — Method in classCarbonImmutable
Sub one year to the instance (using timestamp).
CarbonImmutable::subRealDecades() — Method in classCarbonImmutable
Sub decades (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::subRealDecade() — Method in classCarbonImmutable
Sub one decade to the instance (using timestamp).
CarbonImmutable::subRealCenturies() — Method in classCarbonImmutable
Sub centuries (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::subRealCentury() — Method in classCarbonImmutable
Sub one century to the instance (using timestamp).
CarbonImmutable::subRealMillennia() — Method in classCarbonImmutable
Sub millennia (the $value count passed in) to the instance (using timestamp).
CarbonImmutable::subRealMillennium() — Method in classCarbonImmutable
Sub one millennium to the instance (using timestamp).
CarbonImmutable::shortAbsoluteDiffForHumans() — Method in classCarbonImmutable
Get the difference (short format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
CarbonImmutable::shortRelativeDiffForHumans() — Method in classCarbonImmutable
Get the difference (short format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
CarbonImmutable::shortRelativeToNowDiffForHumans() — Method in classCarbonImmutable
Get the difference (short format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
CarbonImmutable::shortRelativeToOtherDiffForHumans() — Method in classCarbonImmutable
Get the difference (short format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
$CarbonInterface#secondProperty in classCarbonInterface
$CarbonInterface#shortEnglishDayOfWeekProperty in classCarbonInterface
the abbreviated day of week in English
$CarbonInterface#shortEnglishMonthProperty in classCarbonInterface
the abbreviated month in English
CarbonInterface::secondsSinceMidnight() — Method in classCarbonInterface
The number of seconds since midnight.
CarbonInterface::secondsUntilEndOfDay() — Method in classCarbonInterface
The number of seconds until 23:59:59.
CarbonInterface::serialize() — Method in classCarbonInterface
Return a serialized string of the instance.
CarbonInterface::serializeUsing() — Method in classCarbonInterface
CarbonInterface::set() — Method in classCarbonInterface
Set a part of the Carbon object
CarbonInterface::setDate() — Method in classCarbonInterface
CarbonInterface::setDateFrom() — Method in classCarbonInterface
Set the year, month, and date for this instance to that of the passed instance.
CarbonInterface::setDateTime() — Method in classCarbonInterface
Set the date and time all together.
CarbonInterface::setDateTimeFrom() — Method in classCarbonInterface
Set the date and time for this instance to that of the passed instance.
CarbonInterface::setFallbackLocale() — Method in classCarbonInterface
Set the fallback locale.
CarbonInterface::setHumanDiffOptions() — Method in classCarbonInterface
CarbonInterface::setISODate() — Method in classCarbonInterface
CarbonInterface::setLocalTranslator() — Method in classCarbonInterface
Set the translator for the current instance.
CarbonInterface::setLocale() — Method in classCarbonInterface
Set the current translator locale and indicate if the source locale file exists.
CarbonInterface::setMidDayAt() — Method in classCarbonInterface
CarbonInterface::setTestNow() — Method in classCarbonInterface
Set a Carbon instance (real or mock) to be returned when a "now" instance is created. The provided instance will be returned specifically under the following conditions: - A call to the static now() method, ex. Carbon::now() - When a null (or blank string) is passed to the constructor or parse(), ex. new Carbon(null) - When the string "now" is passed to the constructor or parse(), ex. new Carbon('now') - When a string containing the desired time is passed to Carbon::parse().
CarbonInterface::setTestNowAndTimezone() — Method in classCarbonInterface
Set a Carbon instance (real or mock) to be returned when a "now" instance is created. The provided instance will be returned specifically under the following conditions: - A call to the static now() method, ex. Carbon::now() - When a null (or blank string) is passed to the constructor or parse(), ex. new Carbon(null) - When the string "now" is passed to the constructor or parse(), ex. new Carbon('now') - When a string containing the desired time is passed to Carbon::parse().
CarbonInterface::setTime() — Method in classCarbonInterface
CarbonInterface::setTimeFrom() — Method in classCarbonInterface
Set the hour, minute, second and microseconds for this instance to that of the passed instance.
CarbonInterface::setTimeFromTimeString() — Method in classCarbonInterface
Set the time by time string.
CarbonInterface::setTimestamp() — Method in classCarbonInterface
CarbonInterface::setTimezone() — Method in classCarbonInterface
CarbonInterface::setToStringFormat() — Method in classCarbonInterface
CarbonInterface::setTranslator() — Method in classCarbonInterface
Set the default translator instance to use.
CarbonInterface::setUnit() — Method in classCarbonInterface
Set specified unit to new given value.
CarbonInterface::setUnitNoOverflow() — Method in classCarbonInterface
Set any unit to a new value without overflowing current other unit given.
CarbonInterface::setUtf8() — Method in classCarbonInterface
CarbonInterface::setWeekEndsAt() — Method in classCarbonInterface
CarbonInterface::setWeekStartsAt() — Method in classCarbonInterface
CarbonInterface::setWeekendDays() — Method in classCarbonInterface
CarbonInterface::settings() — Method in classCarbonInterface
Set specific options.
CarbonInterface::shiftTimezone() — Method in classCarbonInterface
Set the instance's timezone from a string or object and add/subtract the offset difference.
CarbonInterface::shouldOverflowMonths() — Method in classCarbonInterface
Get the month overflow global behavior (can be overridden in specific instances).
CarbonInterface::shouldOverflowYears() — Method in classCarbonInterface
Get the month overflow global behavior (can be overridden in specific instances).
CarbonInterface::since() — Method in classCarbonInterface
CarbonInterface::singularUnit() — Method in classCarbonInterface
Returns standardized singular of a given singular/plural unit name (in English).
CarbonInterface::startOf() — Method in classCarbonInterface
Modify to start of current given unit.
CarbonInterface::startOfCentury() — Method in classCarbonInterface
Resets the date to the first day of the century and the time to 00:00:00
CarbonInterface::startOfDay() — Method in classCarbonInterface
Resets the time to 00:00:00 start of day
CarbonInterface::startOfDecade() — Method in classCarbonInterface
Resets the date to the first day of the decade and the time to 00:00:00
CarbonInterface::startOfHour() — Method in classCarbonInterface
Modify to start of current hour, minutes and seconds become 0
CarbonInterface::startOfMillennium() — Method in classCarbonInterface
Resets the date to the first day of the millennium and the time to 00:00:00
CarbonInterface::startOfMinute() — Method in classCarbonInterface
Modify to start of current minute, seconds become 0
CarbonInterface::startOfMonth() — Method in classCarbonInterface
Resets the date to the first day of the month and the time to 00:00:00
CarbonInterface::startOfQuarter() — Method in classCarbonInterface
Resets the date to the first day of the quarter and the time to 00:00:00
CarbonInterface::startOfSecond() — Method in classCarbonInterface
Modify to start of current second, microseconds become 0
CarbonInterface::startOfWeek() — Method in classCarbonInterface
Resets the date to the first day of week (defined in $weekStartsAt) and the time to 00:00:00
CarbonInterface::startOfYear() — Method in classCarbonInterface
Resets the date to the first day of the year and the time to 00:00:00
CarbonInterface::sub() — Method in classCarbonInterface
CarbonInterface::subRealUnit() — Method in classCarbonInterface
CarbonInterface::subUnit() — Method in classCarbonInterface
Subtract given units to the current instance.
CarbonInterface::subUnitNoOverflow() — Method in classCarbonInterface
Subtract any unit to a new value without overflowing current other unit given.
CarbonInterface::subtract() — Method in classCarbonInterface
Subtract given units or interval to the current instance.
CarbonInterface::setYears() — Method in classCarbonInterface
Set current instance year to the given value.
CarbonInterface::setYear() — Method in classCarbonInterface
Set current instance year to the given value.
CarbonInterface::setMonths() — Method in classCarbonInterface
Set current instance month to the given value.
CarbonInterface::setMonth() — Method in classCarbonInterface
Set current instance month to the given value.
CarbonInterface::setDays() — Method in classCarbonInterface
Set current instance day to the given value.
CarbonInterface::setDay() — Method in classCarbonInterface
Set current instance day to the given value.
CarbonInterface::setHours() — Method in classCarbonInterface
Set current instance hour to the given value.
CarbonInterface::setHour() — Method in classCarbonInterface
Set current instance hour to the given value.
CarbonInterface::setMinutes() — Method in classCarbonInterface
Set current instance minute to the given value.
CarbonInterface::setMinute() — Method in classCarbonInterface
Set current instance minute to the given value.
CarbonInterface::seconds() — Method in classCarbonInterface
Set current instance second to the given value.
CarbonInterface::second() — Method in classCarbonInterface
Set current instance second to the given value.
CarbonInterface::setSeconds() — Method in classCarbonInterface
Set current instance second to the given value.
CarbonInterface::setSecond() — Method in classCarbonInterface
Set current instance second to the given value.
CarbonInterface::setMillis() — Method in classCarbonInterface
Set current instance millisecond to the given value.
CarbonInterface::setMilli() — Method in classCarbonInterface
Set current instance millisecond to the given value.
CarbonInterface::setMilliseconds() — Method in classCarbonInterface
Set current instance millisecond to the given value.
CarbonInterface::setMillisecond() — Method in classCarbonInterface
Set current instance millisecond to the given value.
CarbonInterface::setMicros() — Method in classCarbonInterface
Set current instance microsecond to the given value.
CarbonInterface::setMicro() — Method in classCarbonInterface
Set current instance microsecond to the given value.
CarbonInterface::setMicroseconds() — Method in classCarbonInterface
Set current instance microsecond to the given value.
CarbonInterface::setMicrosecond() — Method in classCarbonInterface
Set current instance microsecond to the given value.
CarbonInterface::subYears() — Method in classCarbonInterface
Sub years (the $value count passed in) to the instance (using date interval).
CarbonInterface::subYear() — Method in classCarbonInterface
Sub one year to the instance (using date interval).
CarbonInterface::subYearsWithOverflow() — Method in classCarbonInterface
Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::subYearWithOverflow() — Method in classCarbonInterface
Sub one year to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::subYearsWithoutOverflow() — Method in classCarbonInterface
Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subYearWithoutOverflow() — Method in classCarbonInterface
Sub one year to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subYearsWithNoOverflow() — Method in classCarbonInterface
Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subYearWithNoOverflow() — Method in classCarbonInterface
Sub one year to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subYearsNoOverflow() — Method in classCarbonInterface
Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subYearNoOverflow() — Method in classCarbonInterface
Sub one year to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subMonths() — Method in classCarbonInterface
Sub months (the $value count passed in) to the instance (using date interval).
CarbonInterface::subMonth() — Method in classCarbonInterface
Sub one month to the instance (using date interval).
CarbonInterface::subMonthsWithOverflow() — Method in classCarbonInterface
Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::subMonthWithOverflow() — Method in classCarbonInterface
Sub one month to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::subMonthsWithoutOverflow() — Method in classCarbonInterface
Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subMonthWithoutOverflow() — Method in classCarbonInterface
Sub one month to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subMonthsWithNoOverflow() — Method in classCarbonInterface
Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subMonthWithNoOverflow() — Method in classCarbonInterface
Sub one month to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subMonthsNoOverflow() — Method in classCarbonInterface
Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subMonthNoOverflow() — Method in classCarbonInterface
Sub one month to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subDays() — Method in classCarbonInterface
Sub days (the $value count passed in) to the instance (using date interval).
CarbonInterface::subDay() — Method in classCarbonInterface
Sub one day to the instance (using date interval).
CarbonInterface::subHours() — Method in classCarbonInterface
Sub hours (the $value count passed in) to the instance (using date interval).
CarbonInterface::subHour() — Method in classCarbonInterface
Sub one hour to the instance (using date interval).
CarbonInterface::subMinutes() — Method in classCarbonInterface
Sub minutes (the $value count passed in) to the instance (using date interval).
CarbonInterface::subMinute() — Method in classCarbonInterface
Sub one minute to the instance (using date interval).
CarbonInterface::subSeconds() — Method in classCarbonInterface
Sub seconds (the $value count passed in) to the instance (using date interval).
CarbonInterface::subSecond() — Method in classCarbonInterface
Sub one second to the instance (using date interval).
CarbonInterface::subMillis() — Method in classCarbonInterface
Sub milliseconds (the $value count passed in) to the instance (using date interval).
CarbonInterface::subMilli() — Method in classCarbonInterface
Sub one millisecond to the instance (using date interval).
CarbonInterface::subMilliseconds() — Method in classCarbonInterface
Sub milliseconds (the $value count passed in) to the instance (using date interval).
CarbonInterface::subMillisecond() — Method in classCarbonInterface
Sub one millisecond to the instance (using date interval).
CarbonInterface::subMicros() — Method in classCarbonInterface
Sub microseconds (the $value count passed in) to the instance (using date interval).
CarbonInterface::subMicro() — Method in classCarbonInterface
Sub one microsecond to the instance (using date interval).
CarbonInterface::subMicroseconds() — Method in classCarbonInterface
Sub microseconds (the $value count passed in) to the instance (using date interval).
CarbonInterface::subMicrosecond() — Method in classCarbonInterface
Sub one microsecond to the instance (using date interval).
CarbonInterface::subMillennia() — Method in classCarbonInterface
Sub millennia (the $value count passed in) to the instance (using date interval).
CarbonInterface::subMillennium() — Method in classCarbonInterface
Sub one millennium to the instance (using date interval).
CarbonInterface::subMillenniaWithOverflow() — Method in classCarbonInterface
Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::subMillenniumWithOverflow() — Method in classCarbonInterface
Sub one millennium to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::subMillenniaWithoutOverflow() — Method in classCarbonInterface
Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subMillenniumWithoutOverflow() — Method in classCarbonInterface
Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subMillenniaWithNoOverflow() — Method in classCarbonInterface
Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subMillenniumWithNoOverflow() — Method in classCarbonInterface
Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subMillenniaNoOverflow() — Method in classCarbonInterface
Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subMillenniumNoOverflow() — Method in classCarbonInterface
Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subCenturies() — Method in classCarbonInterface
Sub centuries (the $value count passed in) to the instance (using date interval).
CarbonInterface::subCentury() — Method in classCarbonInterface
Sub one century to the instance (using date interval).
CarbonInterface::subCenturiesWithOverflow() — Method in classCarbonInterface
Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::subCenturyWithOverflow() — Method in classCarbonInterface
Sub one century to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::subCenturiesWithoutOverflow() — Method in classCarbonInterface
Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subCenturyWithoutOverflow() — Method in classCarbonInterface
Sub one century to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subCenturiesWithNoOverflow() — Method in classCarbonInterface
Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subCenturyWithNoOverflow() — Method in classCarbonInterface
Sub one century to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subCenturiesNoOverflow() — Method in classCarbonInterface
Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subCenturyNoOverflow() — Method in classCarbonInterface
Sub one century to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subDecades() — Method in classCarbonInterface
Sub decades (the $value count passed in) to the instance (using date interval).
CarbonInterface::subDecade() — Method in classCarbonInterface
Sub one decade to the instance (using date interval).
CarbonInterface::subDecadesWithOverflow() — Method in classCarbonInterface
Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::subDecadeWithOverflow() — Method in classCarbonInterface
Sub one decade to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::subDecadesWithoutOverflow() — Method in classCarbonInterface
Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subDecadeWithoutOverflow() — Method in classCarbonInterface
Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subDecadesWithNoOverflow() — Method in classCarbonInterface
Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subDecadeWithNoOverflow() — Method in classCarbonInterface
Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subDecadesNoOverflow() — Method in classCarbonInterface
Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subDecadeNoOverflow() — Method in classCarbonInterface
Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subQuarters() — Method in classCarbonInterface
Sub quarters (the $value count passed in) to the instance (using date interval).
CarbonInterface::subQuarter() — Method in classCarbonInterface
Sub one quarter to the instance (using date interval).
CarbonInterface::subQuartersWithOverflow() — Method in classCarbonInterface
Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::subQuarterWithOverflow() — Method in classCarbonInterface
Sub one quarter to the instance (using date interval) with overflow explicitly allowed.
CarbonInterface::subQuartersWithoutOverflow() — Method in classCarbonInterface
Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subQuarterWithoutOverflow() — Method in classCarbonInterface
Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subQuartersWithNoOverflow() — Method in classCarbonInterface
Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subQuarterWithNoOverflow() — Method in classCarbonInterface
Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subQuartersNoOverflow() — Method in classCarbonInterface
Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subQuarterNoOverflow() — Method in classCarbonInterface
Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
CarbonInterface::subWeeks() — Method in classCarbonInterface
Sub weeks (the $value count passed in) to the instance (using date interval).
CarbonInterface::subWeek() — Method in classCarbonInterface
Sub one week to the instance (using date interval).
CarbonInterface::subWeekdays() — Method in classCarbonInterface
Sub weekdays (the $value count passed in) to the instance (using date interval).
CarbonInterface::subWeekday() — Method in classCarbonInterface
Sub one weekday to the instance (using date interval).
CarbonInterface::subRealMicros() — Method in classCarbonInterface
Sub microseconds (the $value count passed in) to the instance (using timestamp).
CarbonInterface::subRealMicro() — Method in classCarbonInterface
Sub one microsecond to the instance (using timestamp).
CarbonInterface::subRealMicroseconds() — Method in classCarbonInterface
Sub microseconds (the $value count passed in) to the instance (using timestamp).
CarbonInterface::subRealMicrosecond() — Method in classCarbonInterface
Sub one microsecond to the instance (using timestamp).
CarbonInterface::subRealMillis() — Method in classCarbonInterface
Sub milliseconds (the $value count passed in) to the instance (using timestamp).
CarbonInterface::subRealMilli() — Method in classCarbonInterface
Sub one millisecond to the instance (using timestamp).
CarbonInterface::subRealMilliseconds() — Method in classCarbonInterface
Sub milliseconds (the $value count passed in) to the instance (using timestamp).
CarbonInterface::subRealMillisecond() — Method in classCarbonInterface
Sub one millisecond to the instance (using timestamp).
CarbonInterface::subRealSeconds() — Method in classCarbonInterface
Sub seconds (the $value count passed in) to the instance (using timestamp).
CarbonInterface::subRealSecond() — Method in classCarbonInterface
Sub one second to the instance (using timestamp).
CarbonInterface::secondsUntil() — Method in classCarbonInterface
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.
CarbonInterface::subRealMinutes() — Method in classCarbonInterface
Sub minutes (the $value count passed in) to the instance (using timestamp).
CarbonInterface::subRealMinute() — Method in classCarbonInterface
Sub one minute to the instance (using timestamp).
CarbonInterface::subRealHours() — Method in classCarbonInterface
Sub hours (the $value count passed in) to the instance (using timestamp).
CarbonInterface::subRealHour() — Method in classCarbonInterface
Sub one hour to the instance (using timestamp).
CarbonInterface::subRealDays() — Method in classCarbonInterface
Sub days (the $value count passed in) to the instance (using timestamp).
CarbonInterface::subRealDay() — Method in classCarbonInterface
Sub one day to the instance (using timestamp).
CarbonInterface::subRealWeeks() — Method in classCarbonInterface
Sub weeks (the $value count passed in) to the instance (using timestamp).
CarbonInterface::subRealWeek() — Method in classCarbonInterface
Sub one week to the instance (using timestamp).
CarbonInterface::subRealMonths() — Method in classCarbonInterface
Sub months (the $value count passed in) to the instance (using timestamp).
CarbonInterface::subRealMonth() — Method in classCarbonInterface
Sub one month to the instance (using timestamp).
CarbonInterface::subRealQuarters() — Method in classCarbonInterface
Sub quarters (the $value count passed in) to the instance (using timestamp).
CarbonInterface::subRealQuarter() — Method in classCarbonInterface
Sub one quarter to the instance (using timestamp).
CarbonInterface::subRealYears() — Method in classCarbonInterface
Sub years (the $value count passed in) to the instance (using timestamp).
CarbonInterface::subRealYear() — Method in classCarbonInterface
Sub one year to the instance (using timestamp).
CarbonInterface::subRealDecades() — Method in classCarbonInterface
Sub decades (the $value count passed in) to the instance (using timestamp).
CarbonInterface::subRealDecade() — Method in classCarbonInterface
Sub one decade to the instance (using timestamp).
CarbonInterface::subRealCenturies() — Method in classCarbonInterface
Sub centuries (the $value count passed in) to the instance (using timestamp).
CarbonInterface::subRealCentury() — Method in classCarbonInterface
Sub one century to the instance (using timestamp).
CarbonInterface::subRealMillennia() — Method in classCarbonInterface
Sub millennia (the $value count passed in) to the instance (using timestamp).
CarbonInterface::subRealMillennium() — Method in classCarbonInterface
Sub one millennium to the instance (using timestamp).
CarbonInterface::shortAbsoluteDiffForHumans() — Method in classCarbonInterface
Get the difference (short format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
CarbonInterface::shortRelativeDiffForHumans() — Method in classCarbonInterface
Get the difference (short format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
CarbonInterface::shortRelativeToNowDiffForHumans() — Method in classCarbonInterface
Get the difference (short format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
CarbonInterface::shortRelativeToOtherDiffForHumans() — Method in classCarbonInterface
Get the difference (short format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
$CarbonInterval#secondsProperty in classCarbonInterval
Total seconds of the current interval.
CarbonInterval::setTimezone() — Method in classCarbonInterval
Set the instance's timezone from a string or object.
CarbonInterval::shiftTimezone() — Method in classCarbonInterval
CarbonInterval::setCascadeFactors() — Method in classCarbonInterval
Set default cascading factors for ->cascade() method.
CarbonInterval::set() — Method in classCarbonInterval
Set a part of the CarbonInterval object.
CarbonInterval::solveNegativeInterval() — Method in classCarbonInterval
CarbonInterval::sub() — Method in classCarbonInterval
Subtract the passed interval to the current instance.
CarbonInterval::subtract() — Method in classCarbonInterval
Subtract the passed interval to the current instance.
CarbonInterval::shares() — Method in classCarbonInterval
Divide current instance by a given divider. shares() is naive, it divides each unit separately and the result is rounded for each unit. So 5 hours and 20 minutes shared by 3 becomes 2 hours and 7 minutes.
CarbonInterval::spec() — Method in classCarbonInterval
Get the interval_spec string.
$CarbonPeriod#startDateProperty in classCarbonPeriod
Period start date. Applied on rewind. Always present, now by default.
CarbonPeriod::setDateClass() — Method in classCarbonPeriod
Set the iteration item class.
CarbonPeriod::setDateInterval() — Method in classCarbonPeriod
Change the period date interval.
CarbonPeriod::setDates() — Method in classCarbonPeriod
Set start and end date.
CarbonPeriod::setOptions() — Method in classCarbonPeriod
Change the period options.
CarbonPeriod::setFilters() — Method in classCarbonPeriod
Set filters stack.
CarbonPeriod::setRecurrences() — Method in classCarbonPeriod
Add a recurrences filter (set maximum number of recurrences).
CarbonPeriod::setStartDate() — Method in classCarbonPeriod
Change the period start date.
CarbonPeriod::setEndDate() — Method in classCarbonPeriod
Change the period end date.
CarbonPeriod::skip() — Method in classCarbonPeriod
Skip iterations and returns iteration state (false if ended, true if still valid).
CarbonPeriod::spec() — Method in classCarbonPeriod
Format the date period as ISO 8601.
CarbonPeriod::setTimezone() — Method in classCarbonPeriod
Set the instance's timezone from a string or object and apply it to start/end.
CarbonPeriod::shiftTimezone() — Method in classCarbonPeriod
Set the instance's timezone from a string or object and add/subtract the offset difference to start/end.
CarbonPeriod::startsBefore() — Method in classCarbonPeriod
Determines if the start date is before an other given date.
CarbonPeriod::startsBeforeOrAt() — Method in classCarbonPeriod
Determines if the start date is before or the same as a given date.
CarbonPeriod::startsAfter() — Method in classCarbonPeriod
Determines if the start date is after an other given date.
CarbonPeriod::startsAfterOrAt() — Method in classCarbonPeriod
Determines if the start date is after or the same as a given date.
CarbonPeriod::startsAt() — Method in classCarbonPeriod
Determines if the start date is the same as a given date.
DateTimeDefaultPrecision::set() — Method in classDateTimeDefaultPrecision
Change the default Doctrine datetime and datetime_immutable precision.
$BadFluentSetterException#setterProperty in classBadFluentSetterException
The setter.
$UnknownSetterException#setterProperty in classUnknownSetterException
The setter.
$Factory#settingsProperty in classFactory
Factory::setClassName() — Method in classFactory
Factory::setSettings() — Method in classFactory
Factory::settings() — Method in classFactory
Factory::serializeUsing() — Method in classFactory
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
Factory::setFallbackLocale() — Method in classFactory
Set the fallback locale.
Factory::setHumanDiffOptions() — Method in classFactory
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
Factory::setLocale() — Method in classFactory
Set the current translator locale and indicate if the source locale file exists.
Factory::setMidDayAt() — Method in classFactory
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
Factory::setTestNow() — Method in classFactory
Set a Carbon instance (real or mock) to be returned when a "now"
Factory::setTestNowAndTimezone() — Method in classFactory
Set a Carbon instance (real or mock) to be returned when a "now"
Factory::setToStringFormat() — Method in classFactory
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
Factory::setTranslator() — Method in classFactory
Set the default translator instance to use.
Factory::setUtf8() — Method in classFactory
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
Factory::setWeekEndsAt() — Method in classFactory
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
Factory::setWeekStartsAt() — Method in classFactory
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
Factory::setWeekendDays() — Method in classFactory
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
Factory::shouldOverflowMonths() — Method in classFactory
Get the month overflow global behavior (can be overridden in specific instances).
Factory::shouldOverflowYears() — Method in classFactory
Get the month overflow global behavior (can be overridden in specific instances).
Factory::singularUnit() — Method in classFactory
Returns standardized singular of a given singular/plural unit name (in English).
FactoryImmutable::serializeUsing() — Method in classFactoryImmutable
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
FactoryImmutable::setFallbackLocale() — Method in classFactoryImmutable
Set the fallback locale.
FactoryImmutable::setHumanDiffOptions() — Method in classFactoryImmutable
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
FactoryImmutable::setLocale() — Method in classFactoryImmutable
Set the current translator locale and indicate if the source locale file exists.
FactoryImmutable::setMidDayAt() — Method in classFactoryImmutable
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
FactoryImmutable::setTestNow() — Method in classFactoryImmutable
Set a Carbon instance (real or mock) to be returned when a "now"
FactoryImmutable::setTestNowAndTimezone() — Method in classFactoryImmutable
Set a Carbon instance (real or mock) to be returned when a "now"
FactoryImmutable::setToStringFormat() — Method in classFactoryImmutable
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
FactoryImmutable::setTranslator() — Method in classFactoryImmutable
Set the default translator instance to use.
FactoryImmutable::setUtf8() — Method in classFactoryImmutable
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
FactoryImmutable::setWeekEndsAt() — Method in classFactoryImmutable
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
FactoryImmutable::setWeekStartsAt() — Method in classFactoryImmutable
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
FactoryImmutable::setWeekendDays() — Method in classFactoryImmutable
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
FactoryImmutable::shouldOverflowMonths() — Method in classFactoryImmutable
Get the month overflow global behavior (can be overridden in specific instances).
FactoryImmutable::shouldOverflowYears() — Method in classFactoryImmutable
Get the month overflow global behavior (can be overridden in specific instances).
FactoryImmutable::singularUnit() — Method in classFactoryImmutable
Returns standardized singular of a given singular/plural unit name (in English).
Language::setIsoName() — Method in classLanguage
Set the ISO language name.
Language::setNativeName() — Method in classLanguage
Set the name of the language in this language.
ServiceProviderClass in namespaceCarbon\Laravel
ServiceProvider::setAppGetter() — Method in classServiceProvider
ServiceProvider::setLocaleGetter() — Method in classServiceProvider
$MacroExtension#scannerProperty in classMacroExtension
Boundaries::startOfDay() — Method in classBoundaries
Resets the time to 00:00:00 start of day
Boundaries::startOfMonth() — Method in classBoundaries
Resets the date to the first day of the month and the time to 00:00:00
Boundaries::startOfQuarter() — Method in classBoundaries
Resets the date to the first day of the quarter and the time to 00:00:00
Boundaries::startOfYear() — Method in classBoundaries
Resets the date to the first day of the year and the time to 00:00:00
Boundaries::startOfDecade() — Method in classBoundaries
Resets the date to the first day of the decade and the time to 00:00:00
Boundaries::startOfCentury() — Method in classBoundaries
Resets the date to the first day of the century and the time to 00:00:00
Boundaries::startOfMillennium() — Method in classBoundaries
Resets the date to the first day of the millennium and the time to 00:00:00
Boundaries::startOfWeek() — Method in classBoundaries
Resets the date to the first day of week (defined in $weekStartsAt) and the time to 00:00:00
Boundaries::startOfHour() — Method in classBoundaries
Modify to start of current hour, minutes and seconds become 0
Boundaries::startOfMinute() — Method in classBoundaries
Modify to start of current minute, seconds become 0
Boundaries::startOfSecond() — Method in classBoundaries
Modify to start of current second, microseconds become 0
Boundaries::startOf() — Method in classBoundaries
Modify to start of current given unit.
$Comparison#startOfTimeProperty in classComparison
Converter::setToStringFormat() — Method in classConverter
$Date#secondProperty in classDate
$Date#shortEnglishDayOfWeekProperty in classDate
the abbreviated day of week in English
$Date#shortEnglishMonthProperty in classDate
the abbreviated month in English
Date::safeCreateDateTimeZone() — Method in classDate
Creates a DateTimeZone from a string, DateTimeZone or integer offset.
Date::set() — Method in classDate
Set a part of the Carbon object
Date::setUnitNoOverflow() — Method in classDate
Set any unit to a new value without overflowing current other unit given.
Date::subUnitNoOverflow() — Method in classDate
Subtract any unit to a new value without overflowing current other unit given.
Date::setDate() — Method in classDate
Date::setISODate() — Method in classDate
Date::setDateTime() — Method in classDate
Set the date and time all together.
Date::setTime() — Method in classDate
Date::setTimestamp() — Method in classDate
Date::setTimeFromTimeString() — Method in classDate
Set the time by time string.
Date::setTimezone() — Method in classDate
Date::shiftTimezone() — Method in classDate
Set the instance's timezone from a string or object and add/subtract the offset difference.
Date::setDateFrom() — Method in classDate
Set the year, month, and date for this instance to that of the passed instance.
Date::setTimeFrom() — Method in classDate
Set the hour, minute, second and microseconds for this instance to that of the passed instance.
Date::setDateTimeFrom() — Method in classDate
Set the date and time for this instance to that of the passed instance.
Date::setWeekStartsAt() — Method in classDate
Date::setWeekEndsAt() — Method in classDate
Date::setWeekendDays() — Method in classDate
Date::setUtf8() — Method in classDate
Date::setUnit() — Method in classDate
Set specified unit to new given value.
Date::singularUnit() — Method in classDate
Returns standardized singular of a given singular/plural unit name (in English).
Date::setYears() — Method in classDate
Set current instance year to the given value.
Date::setYear() — Method in classDate
Set current instance year to the given value.
Date::setMonths() — Method in classDate
Set current instance month to the given value.
Date::setMonth() — Method in classDate
Set current instance month to the given value.
Date::setDays() — Method in classDate
Set current instance day to the given value.
Date::setDay() — Method in classDate
Set current instance day to the given value.
Date::setHours() — Method in classDate
Set current instance hour to the given value.
Date::setHour() — Method in classDate
Set current instance hour to the given value.
Date::setMinutes() — Method in classDate
Set current instance minute to the given value.
Date::setMinute() — Method in classDate
Set current instance minute to the given value.
Date::seconds() — Method in classDate
Set current instance second to the given value.
Date::second() — Method in classDate
Set current instance second to the given value.
Date::setSeconds() — Method in classDate
Set current instance second to the given value.
Date::setSecond() — Method in classDate
Set current instance second to the given value.
Date::setMillis() — Method in classDate
Set current instance millisecond to the given value.
Date::setMilli() — Method in classDate
Set current instance millisecond to the given value.
Date::setMilliseconds() — Method in classDate
Set current instance millisecond to the given value.
Date::setMillisecond() — Method in classDate
Set current instance millisecond to the given value.
Date::setMicros() — Method in classDate
Set current instance microsecond to the given value.
Date::setMicro() — Method in classDate
Set current instance microsecond to the given value.
Date::setMicroseconds() — Method in classDate
Set current instance microsecond to the given value.
Date::setMicrosecond() — Method in classDate
Set current instance microsecond to the given value.
Date::subYears() — Method in classDate
Sub years (the $value count passed in) to the instance (using date interval).
Date::subYear() — Method in classDate
Sub one year to the instance (using date interval).
Date::subYearsWithOverflow() — Method in classDate
Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Date::subYearWithOverflow() — Method in classDate
Sub one year to the instance (using date interval) with overflow explicitly allowed.
Date::subYearsWithoutOverflow() — Method in classDate
Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::subYearWithoutOverflow() — Method in classDate
Sub one year to the instance (using date interval) with overflow explicitly forbidden.
Date::subYearsWithNoOverflow() — Method in classDate
Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::subYearWithNoOverflow() — Method in classDate
Sub one year to the instance (using date interval) with overflow explicitly forbidden.
Date::subYearsNoOverflow() — Method in classDate
Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::subYearNoOverflow() — Method in classDate
Sub one year to the instance (using date interval) with overflow explicitly forbidden.
Date::subMonths() — Method in classDate
Sub months (the $value count passed in) to the instance (using date interval).
Date::subMonth() — Method in classDate
Sub one month to the instance (using date interval).
Date::subMonthsWithOverflow() — Method in classDate
Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Date::subMonthWithOverflow() — Method in classDate
Sub one month to the instance (using date interval) with overflow explicitly allowed.
Date::subMonthsWithoutOverflow() — Method in classDate
Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::subMonthWithoutOverflow() — Method in classDate
Sub one month to the instance (using date interval) with overflow explicitly forbidden.
Date::subMonthsWithNoOverflow() — Method in classDate
Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::subMonthWithNoOverflow() — Method in classDate
Sub one month to the instance (using date interval) with overflow explicitly forbidden.
Date::subMonthsNoOverflow() — Method in classDate
Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::subMonthNoOverflow() — Method in classDate
Sub one month to the instance (using date interval) with overflow explicitly forbidden.
Date::subDays() — Method in classDate
Sub days (the $value count passed in) to the instance (using date interval).
Date::subDay() — Method in classDate
Sub one day to the instance (using date interval).
Date::subHours() — Method in classDate
Sub hours (the $value count passed in) to the instance (using date interval).
Date::subHour() — Method in classDate
Sub one hour to the instance (using date interval).
Date::subMinutes() — Method in classDate
Sub minutes (the $value count passed in) to the instance (using date interval).
Date::subMinute() — Method in classDate
Sub one minute to the instance (using date interval).
Date::subSeconds() — Method in classDate
Sub seconds (the $value count passed in) to the instance (using date interval).
Date::subSecond() — Method in classDate
Sub one second to the instance (using date interval).
Date::subMillis() — Method in classDate
Sub milliseconds (the $value count passed in) to the instance (using date interval).
Date::subMilli() — Method in classDate
Sub one millisecond to the instance (using date interval).
Date::subMilliseconds() — Method in classDate
Sub milliseconds (the $value count passed in) to the instance (using date interval).
Date::subMillisecond() — Method in classDate
Sub one millisecond to the instance (using date interval).
Date::subMicros() — Method in classDate
Sub microseconds (the $value count passed in) to the instance (using date interval).
Date::subMicro() — Method in classDate
Sub one microsecond to the instance (using date interval).
Date::subMicroseconds() — Method in classDate
Sub microseconds (the $value count passed in) to the instance (using date interval).
Date::subMicrosecond() — Method in classDate
Sub one microsecond to the instance (using date interval).
Date::subMillennia() — Method in classDate
Sub millennia (the $value count passed in) to the instance (using date interval).
Date::subMillennium() — Method in classDate
Sub one millennium to the instance (using date interval).
Date::subMillenniaWithOverflow() — Method in classDate
Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Date::subMillenniumWithOverflow() — Method in classDate
Sub one millennium to the instance (using date interval) with overflow explicitly allowed.
Date::subMillenniaWithoutOverflow() — Method in classDate
Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::subMillenniumWithoutOverflow() — Method in classDate
Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
Date::subMillenniaWithNoOverflow() — Method in classDate
Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::subMillenniumWithNoOverflow() — Method in classDate
Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
Date::subMillenniaNoOverflow() — Method in classDate
Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::subMillenniumNoOverflow() — Method in classDate
Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
Date::subCenturies() — Method in classDate
Sub centuries (the $value count passed in) to the instance (using date interval).
Date::subCentury() — Method in classDate
Sub one century to the instance (using date interval).
Date::subCenturiesWithOverflow() — Method in classDate
Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Date::subCenturyWithOverflow() — Method in classDate
Sub one century to the instance (using date interval) with overflow explicitly allowed.
Date::subCenturiesWithoutOverflow() — Method in classDate
Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::subCenturyWithoutOverflow() — Method in classDate
Sub one century to the instance (using date interval) with overflow explicitly forbidden.
Date::subCenturiesWithNoOverflow() — Method in classDate
Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::subCenturyWithNoOverflow() — Method in classDate
Sub one century to the instance (using date interval) with overflow explicitly forbidden.
Date::subCenturiesNoOverflow() — Method in classDate
Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::subCenturyNoOverflow() — Method in classDate
Sub one century to the instance (using date interval) with overflow explicitly forbidden.
Date::subDecades() — Method in classDate
Sub decades (the $value count passed in) to the instance (using date interval).
Date::subDecade() — Method in classDate
Sub one decade to the instance (using date interval).
Date::subDecadesWithOverflow() — Method in classDate
Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Date::subDecadeWithOverflow() — Method in classDate
Sub one decade to the instance (using date interval) with overflow explicitly allowed.
Date::subDecadesWithoutOverflow() — Method in classDate
Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::subDecadeWithoutOverflow() — Method in classDate
Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
Date::subDecadesWithNoOverflow() — Method in classDate
Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::subDecadeWithNoOverflow() — Method in classDate
Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
Date::subDecadesNoOverflow() — Method in classDate
Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::subDecadeNoOverflow() — Method in classDate
Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
Date::subQuarters() — Method in classDate
Sub quarters (the $value count passed in) to the instance (using date interval).
Date::subQuarter() — Method in classDate
Sub one quarter to the instance (using date interval).
Date::subQuartersWithOverflow() — Method in classDate
Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
Date::subQuarterWithOverflow() — Method in classDate
Sub one quarter to the instance (using date interval) with overflow explicitly allowed.
Date::subQuartersWithoutOverflow() — Method in classDate
Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::subQuarterWithoutOverflow() — Method in classDate
Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
Date::subQuartersWithNoOverflow() — Method in classDate
Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::subQuarterWithNoOverflow() — Method in classDate
Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
Date::subQuartersNoOverflow() — Method in classDate
Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
Date::subQuarterNoOverflow() — Method in classDate
Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
Date::subWeeks() — Method in classDate
Sub weeks (the $value count passed in) to the instance (using date interval).
Date::subWeek() — Method in classDate
Sub one week to the instance (using date interval).
Date::subWeekdays() — Method in classDate
Sub weekdays (the $value count passed in) to the instance (using date interval).
Date::subWeekday() — Method in classDate
Sub one weekday to the instance (using date interval).
Date::subRealMicros() — Method in classDate
Sub microseconds (the $value count passed in) to the instance (using timestamp).
Date::subRealMicro() — Method in classDate
Sub one microsecond to the instance (using timestamp).
Date::subRealMicroseconds() — Method in classDate
Sub microseconds (the $value count passed in) to the instance (using timestamp).
Date::subRealMicrosecond() — Method in classDate
Sub one microsecond to the instance (using timestamp).
Date::subRealMillis() — Method in classDate
Sub milliseconds (the $value count passed in) to the instance (using timestamp).
Date::subRealMilli() — Method in classDate
Sub one millisecond to the instance (using timestamp).
Date::subRealMilliseconds() — Method in classDate
Sub milliseconds (the $value count passed in) to the instance (using timestamp).
Date::subRealMillisecond() — Method in classDate
Sub one millisecond to the instance (using timestamp).
Date::subRealSeconds() — Method in classDate
Sub seconds (the $value count passed in) to the instance (using timestamp).
Date::subRealSecond() — Method in classDate
Sub one second to the instance (using timestamp).
Date::secondsUntil() — Method in classDate
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.
Date::subRealMinutes() — Method in classDate
Sub minutes (the $value count passed in) to the instance (using timestamp).
Date::subRealMinute() — Method in classDate
Sub one minute to the instance (using timestamp).
Date::subRealHours() — Method in classDate
Sub hours (the $value count passed in) to the instance (using timestamp).
Date::subRealHour() — Method in classDate
Sub one hour to the instance (using timestamp).
Date::subRealDays() — Method in classDate
Sub days (the $value count passed in) to the instance (using timestamp).
Date::subRealDay() — Method in classDate
Sub one day to the instance (using timestamp).
Date::subRealWeeks() — Method in classDate
Sub weeks (the $value count passed in) to the instance (using timestamp).
Date::subRealWeek() — Method in classDate
Sub one week to the instance (using timestamp).
Date::subRealMonths() — Method in classDate
Sub months (the $value count passed in) to the instance (using timestamp).
Date::subRealMonth() — Method in classDate
Sub one month to the instance (using timestamp).
Date::subRealQuarters() — Method in classDate
Sub quarters (the $value count passed in) to the instance (using timestamp).
Date::subRealQuarter() — Method in classDate
Sub one quarter to the instance (using timestamp).
Date::subRealYears() — Method in classDate
Sub years (the $value count passed in) to the instance (using timestamp).
Date::subRealYear() — Method in classDate
Sub one year to the instance (using timestamp).
Date::subRealDecades() — Method in classDate
Sub decades (the $value count passed in) to the instance (using timestamp).
Date::subRealDecade() — Method in classDate
Sub one decade to the instance (using timestamp).
Date::subRealCenturies() — Method in classDate
Sub centuries (the $value count passed in) to the instance (using timestamp).
Date::subRealCentury() — Method in classDate
Sub one century to the instance (using timestamp).
Date::subRealMillennia() — Method in classDate
Sub millennia (the $value count passed in) to the instance (using timestamp).
Date::subRealMillennium() — Method in classDate
Sub one millennium to the instance (using timestamp).
Date::shortAbsoluteDiffForHumans() — Method in classDate
Get the difference (short format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
Date::shortRelativeDiffForHumans() — Method in classDate
Get the difference (short format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
Date::shortRelativeToNowDiffForHumans() — Method in classDate
Get the difference (short format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
Date::shortRelativeToOtherDiffForHumans() — Method in classDate
Get the difference (short format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
$DeprecatedProperties#shortLocaleDayOfWeekProperty in classDeprecatedProperties
the abbreviated day of week in current locale LC_TIME
$DeprecatedProperties#shortLocaleMonthProperty in classDeprecatedProperties
the abbreviated month in current locale LC_TIME
Difference::secondsSinceMidnight() — Method in classDifference
The number of seconds since midnight.
Difference::secondsUntilEndOfDay() — Method in classDifference
The number of seconds until 23:59:59.
Difference::since() — Method in classDifference
$IntervalStep#stepProperty in classIntervalStep
Step to apply instead of a fixed interval to get the new date.
IntervalStep::setStep() — Method in classIntervalStep
Set a step to apply instead of a fixed interval to get the new date.
Localization::setHumanDiffOptions() — Method in classLocalization
Localization::setTranslator() — Method in classLocalization
Set the default translator instance to use.
Localization::setLocalTranslator() — Method in classLocalization
Set the translator for the current instance.
Localization::setLocale() — Method in classLocalization
Set the current translator locale and indicate if the source locale file exists.
Localization::setFallbackLocale() — Method in classLocalization
Set the fallback locale.
Modifiers::setMidDayAt() — Method in classModifiers
$Options#strictModeEnabledProperty in classOptions
Indicates if the strict mode is in use.
Options::shouldOverflowMonths() — Method in classOptions
Get the month overflow global behavior (can be overridden in specific instances).
Options::shouldOverflowYears() — Method in classOptions
Get the month overflow global behavior (can be overridden in specific instances).
Options::settings() — Method in classOptions
Set specific options.
Options::shiftTimezone() — Method in classOptions
Set the timezone
Rounding::startOfWeek() — Method in classRounding
SerializationClass in namespaceCarbon\Traits
Trait Serialization.
$Serialization#serializerProperty in classSerialization
The custom Carbon JSON serializer.
Serialization::serialize() — Method in classSerialization
Return a serialized string of the instance.
Serialization::serializeUsing() — Method in classSerialization
Test::setTestNow() — Method in classTest
Set a Carbon instance (real or mock) to be returned when a "now" instance is created. The provided instance will be returned specifically under the following conditions: - A call to the static now() method, ex. Carbon::now() - When a null (or blank string) is passed to the constructor or parse(), ex. new Carbon(null) - When the string "now" is passed to the constructor or parse(), ex. new Carbon('now') - When a string containing the desired time is passed to Carbon::parse().
Test::setTestNowAndTimezone() — Method in classTest
Set a Carbon instance (real or mock) to be returned when a "now" instance is created. The provided instance will be returned specifically under the following conditions: - A call to the static now() method, ex. Carbon::now() - When a null (or blank string) is passed to the constructor or parse(), ex. new Carbon(null) - When the string "now" is passed to the constructor or parse(), ex. new Carbon('now') - When a string containing the desired time is passed to Carbon::parse().
Units::subRealUnit() — Method in classUnits
Units::subUnit() — Method in classUnits
Subtract given units to the current instance.
Units::sub() — Method in classUnits
Units::subtract() — Method in classUnits
Subtract given units or interval to the current instance.
Week::startOfWeek() — Method in classWeek
Week::subWeeks() — Method in classWeek
TranslatorImmutable::setDirectories() — Method in classTranslatorImmutable
TranslatorImmutable::setLocale() — Method in classTranslatorImmutable
TranslatorImmutable::setMessages() — Method in classTranslatorImmutable
TranslatorImmutable::setTranslations() — Method in classTranslatorImmutable
TranslatorImmutable::setConfigCacheFactory() — Method in classTranslatorImmutable
TranslatorImmutable::setFallbackLocales() — Method in classTranslatorImmutable

T

AbstractTranslator::translate() — Method in classAbstractTranslator
$Carbon#timestampProperty in classCarbon
seconds since the Unix Epoch
$Carbon#timezoneProperty in classCarbon
the current timezone
$Carbon#tzProperty in classCarbon
alias of $timezone
$CarbonImmutable#timestampProperty in classCarbonImmutable
seconds since the Unix Epoch
$CarbonImmutable#timezoneProperty in classCarbonImmutable
the current timezone
$CarbonImmutable#tzProperty in classCarbonImmutable
alias of $timezone
$CarbonInterface#timestampProperty in classCarbonInterface
seconds since the Unix Epoch
$CarbonInterface#timezoneProperty in classCarbonInterface
the current timezone
$CarbonInterface#tzProperty in classCarbonInterface
alias of $timezone
CarbonInterface::timespan() — Method in classCarbonInterface
Get the difference in a human readable format in the current locale from current instance to an other instance given (or now if null given).
CarbonInterface::timestamp() — Method in classCarbonInterface
Set the instance's timestamp.
CarbonInterface::timezone() — Method in classCarbonInterface
CarbonInterface::to() — Method in classCarbonInterface
Get the difference in a human readable format in the current locale from an other instance given (or now if null given) to current instance.
CarbonInterface::toArray() — Method in classCarbonInterface
Get default array representation.
CarbonInterface::toAtomString() — Method in classCarbonInterface
Format the instance as ATOM
CarbonInterface::toCookieString() — Method in classCarbonInterface
Format the instance as COOKIE
CarbonInterface::toDate() — Method in classCarbonInterface
CarbonInterface::toDateString() — Method in classCarbonInterface
Format the instance as date
CarbonInterface::toDateTime() — Method in classCarbonInterface
Return native DateTime PHP object matching the current instance.
CarbonInterface::toDateTimeImmutable() — Method in classCarbonInterface
Return native toDateTimeImmutable PHP object matching the current instance.
CarbonInterface::toDateTimeLocalString() — Method in classCarbonInterface
Format the instance as date and time T-separated with no timezone
CarbonInterface::toDateTimeString() — Method in classCarbonInterface
Format the instance as date and time
CarbonInterface::toDayDateTimeString() — Method in classCarbonInterface
Format the instance with day, date and time
CarbonInterface::toFormattedDateString() — Method in classCarbonInterface
Format the instance as a readable date
CarbonInterface::toISOString() — Method in classCarbonInterface
Return the ISO-8601 string (ex: 1977-04-22T06:00:00Z, if $keepOffset truthy, offset will be kept: 1977-04-22T01:00:00-05:00).
CarbonInterface::toImmutable() — Method in classCarbonInterface
Return a immutable copy of the instance.
CarbonInterface::toIso8601String() — Method in classCarbonInterface
Format the instance as ISO8601
CarbonInterface::toIso8601ZuluString() — Method in classCarbonInterface
Convert the instance to UTC and return as Zulu ISO8601
CarbonInterface::toJSON() — Method in classCarbonInterface
Return the ISO-8601 string (ex: 1977-04-22T06:00:00Z) with UTC timezone.
CarbonInterface::toMutable() — Method in classCarbonInterface
Return a mutable copy of the instance.
CarbonInterface::toNow() — Method in classCarbonInterface
Get the difference in a human readable format in the current locale from an other instance given to now
CarbonInterface::toObject() — Method in classCarbonInterface
Get default object representation.
CarbonInterface::toPeriod() — Method in classCarbonInterface
Create a iterable CarbonPeriod object from current date to a given end date (and optional interval).
CarbonInterface::toRfc1036String() — Method in classCarbonInterface
Format the instance as RFC1036
CarbonInterface::toRfc1123String() — Method in classCarbonInterface
Format the instance as RFC1123
CarbonInterface::toRfc2822String() — Method in classCarbonInterface
Format the instance as RFC2822
CarbonInterface::toRfc3339String() — Method in classCarbonInterface
Format the instance as RFC3339
CarbonInterface::toRfc7231String() — Method in classCarbonInterface
Format the instance as RFC7231
CarbonInterface::toRfc822String() — Method in classCarbonInterface
Format the instance as RFC822
CarbonInterface::toRfc850String() — Method in classCarbonInterface
Format the instance as RFC850
CarbonInterface::toRssString() — Method in classCarbonInterface
Format the instance as RSS
CarbonInterface::toString() — Method in classCarbonInterface
Returns english human readable complete date string.
CarbonInterface::toTimeString() — Method in classCarbonInterface
Format the instance as time
CarbonInterface::toW3cString() — Method in classCarbonInterface
Format the instance as W3C
CarbonInterface::today() — Method in classCarbonInterface
Create a Carbon instance for today.
CarbonInterface::tomorrow() — Method in classCarbonInterface
Create a Carbon instance for tomorrow.
CarbonInterface::translate() — Method in classCarbonInterface
Translate using translation string or callback available.
CarbonInterface::translateNumber() — Method in classCarbonInterface
Returns the alternative number for a given integer if available in the current locale.
CarbonInterface::translateTimeString() — Method in classCarbonInterface
Translate a time string from a locale to an other.
CarbonInterface::translateTimeStringTo() — Method in classCarbonInterface
Translate a time string from the current locale ($date->locale()) to an other.
CarbonInterface::translateWith() — Method in classCarbonInterface
Translate using translation string or callback available.
CarbonInterface::translatedFormat() — Method in classCarbonInterface
Format as ->format() do (using date replacements patterns from https://php.net/manual/en/function.date.php) but translate words whenever possible (months, day names, etc.) using the current locale.
CarbonInterface::tz() — Method in classCarbonInterface
Set the timezone or returns the timezone name if no arguments passed.
$CarbonInterval#translatorProperty in classCarbonInterval
A translator to .
$CarbonInterval#tzNameProperty in classCarbonInterval
Timezone handler for settings() method.
CarbonInterval::this() — Method in classCarbonInterval
Return the current context from inside a macro callee or a new one if static.
CarbonInterval::toArray() — Method in classCarbonInterval
Returns interval values as an array where key are the unit names and values the counts.
CarbonInterval::toDateInterval() — Method in classCarbonInterval
Return native DateInterval PHP object matching the current instance.
CarbonInterval::toPeriod() — Method in classCarbonInterval
Convert the interval to a CarbonPeriod.
CarbonInterval::times() — Method in classCarbonInterval
Multiply current instance given number of times. times() is naive, it multiplies each unit (so day can be greater than 31, hour can be greater than 23, etc.) and the result is rounded separately for each unit.
CarbonInterval::total() — Method in classCarbonInterval
Get amount of given unit equivalent to the interval.
$CarbonPeriod#timezoneProperty in classCarbonPeriod
Timezone of current date. Taken from the start date.
$CarbonPeriod#tzNameProperty in classCarbonPeriod
Timezone handler for settings() method.
CarbonPeriod::toggleOptions() — Method in classCarbonPeriod
Toggle given options on or off.
CarbonPeriod::toIso8601String() — Method in classCarbonPeriod
Format the date period as ISO 8601.
CarbonPeriod::toString() — Method in classCarbonPeriod
Convert the date period into a string.
CarbonPeriod::toDatePeriod() — Method in classCarbonPeriod
Return native DatePeriod PHP object matching the current instance.
CarbonPeriod::toArray() — Method in classCarbonPeriod
Convert the date period into an array without changing current iteration state.
CarbonTimeZone::toOffsetName() — Method in classCarbonTimeZone
Get the offset as string "sHH:MM" (such as "+00:00" or "-12:30").
CarbonTimeZone::toOffsetTimeZone() — Method in classCarbonTimeZone
Returns a new CarbonTimeZone object using the offset string instead of region string.
CarbonTimeZone::toRegionName() — Method in classCarbonTimeZone
Returns the first region string (such as "America/Toronto") that matches the current timezone or false if no match is found.
CarbonTimeZone::toRegionTimeZone() — Method in classCarbonTimeZone
Returns a new CarbonTimeZone object using the region string instead of offset string.
Factory::today() — Method in classFactory
Create a Carbon instance for today.
Factory::tomorrow() — Method in classFactory
Create a Carbon instance for tomorrow.
Factory::translateTimeString() — Method in classFactory
Translate a time string from a locale to an other.
Factory::translateWith() — Method in classFactory
Translate using translation string or callback available.
FactoryImmutable::today() — Method in classFactoryImmutable
Create a Carbon instance for today.
FactoryImmutable::tomorrow() — Method in classFactoryImmutable
Create a Carbon instance for tomorrow.
FactoryImmutable::translateTimeString() — Method in classFactoryImmutable
Translate a time string from a locale to an other.
FactoryImmutable::translateWith() — Method in classFactoryImmutable
Translate using translation string or callback available.
$Converter#toStringFormatProperty in classConverter
Format to use for __toString method when type juggling occurs.
Converter::toDateString() — Method in classConverter
Format the instance as date
Converter::toFormattedDateString() — Method in classConverter
Format the instance as a readable date
Converter::toFormattedDayDateString() — Method in classConverter
Format the instance with the day, and a readable date
Converter::toTimeString() — Method in classConverter
Format the instance as time
Converter::toDateTimeString() — Method in classConverter
Format the instance as date and time
Converter::toDateTimeLocalString() — Method in classConverter
Format the instance as date and time T-separated with no timezone
Converter::toDayDateTimeString() — Method in classConverter
Format the instance with day, date and time
Converter::toAtomString() — Method in classConverter
Format the instance as ATOM
Converter::toCookieString() — Method in classConverter
Format the instance as COOKIE
Converter::toIso8601String() — Method in classConverter
Format the instance as ISO8601
Converter::toRfc822String() — Method in classConverter
Format the instance as RFC822
Converter::toIso8601ZuluString() — Method in classConverter
Convert the instance to UTC and return as Zulu ISO8601
Converter::toRfc850String() — Method in classConverter
Format the instance as RFC850
Converter::toRfc1036String() — Method in classConverter
Format the instance as RFC1036
Converter::toRfc1123String() — Method in classConverter
Format the instance as RFC1123
Converter::toRfc2822String() — Method in classConverter
Format the instance as RFC2822
Converter::toRfc3339String() — Method in classConverter
Format the instance as RFC3339
Converter::toRssString() — Method in classConverter
Format the instance as RSS
Converter::toW3cString() — Method in classConverter
Format the instance as W3C
Converter::toRfc7231String() — Method in classConverter
Format the instance as RFC7231
Converter::toArray() — Method in classConverter
Get default array representation.
Converter::toObject() — Method in classConverter
Get default object representation.
Converter::toString() — Method in classConverter
Returns english human readable complete date string.
Converter::toISOString() — Method in classConverter
Return the ISO-8601 string (ex: 1977-04-22T06:00:00Z, if $keepOffset truthy, offset will be kept: 1977-04-22T01:00:00-05:00).
Converter::toJSON() — Method in classConverter
Return the ISO-8601 string (ex: 1977-04-22T06:00:00Z) with UTC timezone.
Converter::toDateTime() — Method in classConverter
Return native DateTime PHP object matching the current instance.
Converter::toDateTimeImmutable() — Method in classConverter
Return native toDateTimeImmutable PHP object matching the current instance.
Converter::toDate() — Method in classConverter
Converter::toPeriod() — Method in classConverter
Create a iterable CarbonPeriod object from current date to a given end date (and optional interval).
Creator::today() — Method in classCreator
Create a Carbon instance for today.
Creator::tomorrow() — Method in classCreator
Create a Carbon instance for tomorrow.
$Date#timestampProperty in classDate
seconds since the Unix Epoch
$Date#timezoneProperty in classDate
the current timezone
$Date#tzProperty in classDate
alias of $timezone
Date::timezone() — Method in classDate
Date::tz() — Method in classDate
Set the timezone or returns the timezone name if no arguments passed.
Date::translatedFormat() — Method in classDate
Format as ->format() do (using date replacements patterns from https://php.net/manual/en/function.date.php) but translate words whenever possible (months, day names, etc.) using the current locale.
Difference::to() — Method in classDifference
Get the difference in a human readable format in the current locale from an other instance given (or now if null given) to current instance.
Difference::toNow() — Method in classDifference
Get the difference in a human readable format in the current locale from an other instance given to now
Difference::timespan() — Method in classDifference
Get the difference in a human readable format in the current locale from current instance to an other instance given (or now if null given).
$Localization#translatorProperty in classLocalization
Default translator.
Localization::translateWith() — Method in classLocalization
Translate using translation string or callback available.
Localization::translate() — Method in classLocalization
Translate using translation string or callback available.
Localization::translateNumber() — Method in classLocalization
Returns the alternative number for a given integer if available in the current locale.
Localization::translateTimeString() — Method in classLocalization
Translate a time string from a locale to an other.
Localization::translateTimeStringTo() — Method in classLocalization
Translate a time string from the current locale ($date->locale()) to an other.
Localization::translator() — Method in classLocalization
Initialize the default translator instance if necessary.
Mixin::this() — Method in classMixin
Return the current context from inside a macro callee or a new one if static.
Mutability::toMutable() — Method in classMutability
Return a mutable copy of the instance.
Mutability::toImmutable() — Method in classMutability
Return a immutable copy of the instance.
Serialization::toJSON() — Method in classSerialization
TestClass in namespaceCarbon\Traits
$Test#testNowProperty in classTest
A test Carbon instance to be returned when now instances are created.
$Test#testDefaultTimezoneProperty in classTest
The timezone to resto to when clearing the time mock.
TimestampClass in namespaceCarbon\Traits
Trait Timestamp.
Timestamp::timestamp() — Method in classTimestamp
Set the instance's timestamp.
TranslatorClass in namespaceCarbon
TranslatorImmutableClass in namespaceCarbon
TranslatorStrongTypeInterfaceClass in namespaceCarbon
Mark translator using strong type from symfony/translation >= 6.

U

CarbonInterface::unix() — Method in classCarbonInterface
CarbonInterface::until() — Method in classCarbonInterface
CarbonInterface::useMonthsOverflow() — Method in classCarbonInterface
CarbonInterface::useStrictMode() — Method in classCarbonInterface
CarbonInterface::useYearsOverflow() — Method in classCarbonInterface
CarbonInterface::utc() — Method in classCarbonInterface
Set the instance's timezone to UTC.
CarbonInterface::utcOffset() — Method in classCarbonInterface
Returns the minutes offset to UTC if no arguments passed, else set the timezone with given minutes shift passed.
CarbonPeriod::updateInternalState() — Method in classCarbonPeriod
Update properties after removing built-in filters.
$BadComparisonUnitException#unitProperty in classBadComparisonUnitException
The unit.
UnitExceptionClass in namespaceCarbon\Exceptions
UnitNotConfiguredExceptionClass in namespaceCarbon\Exceptions
$UnitNotConfiguredException#unitProperty in classUnitNotConfiguredException
The unit.
UnknownGetterExceptionClass in namespaceCarbon\Exceptions
UnknownMethodExceptionClass in namespaceCarbon\Exceptions
UnknownSetterExceptionClass in namespaceCarbon\Exceptions
UnknownUnitExceptionClass in namespaceCarbon\Exceptions
$UnknownUnitException#unitProperty in classUnknownUnitException
The unit.
UnreachableExceptionClass in namespaceCarbon\Exceptions
Factory::useMonthsOverflow() — Method in classFactory
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
Factory::useStrictMode() — Method in classFactory
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
Factory::useYearsOverflow() — Method in classFactory
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
FactoryImmutable::useMonthsOverflow() — Method in classFactoryImmutable
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
FactoryImmutable::useStrictMode() — Method in classFactoryImmutable
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
FactoryImmutable::useYearsOverflow() — Method in classFactoryImmutable
@deprecated To avoid conflict between different third-party libraries, static setters should not be used.
ServiceProvider::updateLocale() — Method in classServiceProvider
$Date#utf8Property in classDate
Will UTF8 encoding be used to print localized date/time ?
$Date#unitsProperty in classDate
List of unit and magic methods associated as doc-comments.
Date::utcOffset() — Method in classDate
Returns the minutes offset to UTC if no arguments passed, else set the timezone with given minutes shift passed.
Date::utc() — Method in classDate
Set the instance's timezone to UTC.
Difference::until() — Method in classDifference
Options::useStrictMode() — Method in classOptions
Options::useMonthsOverflow() — Method in classOptions
Options::useYearsOverflow() — Method in classOptions
Timestamp::unix() — Method in classTimestamp
UnitsClass in namespaceCarbon\Traits
Trait Units.

V

CarbonInterface::valueOf() — Method in classCarbonInterface
Returns the milliseconds timestamps used amongst other by Date javascript objects.
$CarbonPeriod#validationResultProperty in classCarbonPeriod
The cached validation result for current date.
CarbonPeriod::valid() — Method in classCarbonPeriod
CarbonPeriod::validateCurrentDate() — Method in classCarbonPeriod
Validate current date and stop iteration when necessary.
$ImmutableException#valueProperty in classImmutableException
The value.
$Language#variantProperty in classLanguage
Timestamp::valueOf() — Method in classTimestamp
Returns the milliseconds timestamps used amongst other by Date javascript objects.

W

$Carbon#weekProperty in classCarbon
1 through 53
$Carbon#weekYearProperty in classCarbon
year according to week format
Carbon::weeksUntil() — Method in classCarbon
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.
$CarbonImmutable#weekProperty in classCarbonImmutable
1 through 53
$CarbonImmutable#weekYearProperty in classCarbonImmutable
year according to week format
CarbonImmutable::weeksUntil() — Method in classCarbonImmutable
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.
$CarbonInterface#weekProperty in classCarbonInterface
1 through 53
$CarbonInterface#weekYearProperty in classCarbonInterface
year according to week format
CarbonInterface::week() — Method in classCarbonInterface
Get/set the week number using given first day of week and first day of year included in the first week. Or use US format if no settings given (Sunday / Jan 6).
CarbonInterface::weekYear() — Method in classCarbonInterface
Set/get the week number of year using given first day of week and first day of year included in the first week. Or use US format if no settings given (Sunday / Jan 6).
CarbonInterface::weekday() — Method in classCarbonInterface
Get/set the weekday from 0 (Sunday) to 6 (Saturday).
CarbonInterface::weeksInYear() — Method in classCarbonInterface
Get the number of weeks of the current week-year using given first day of week and first day of year included in the first week. Or use US format if no settings given (Sunday / Jan 6).
CarbonInterface::withTestNow() — Method in classCarbonInterface
Temporarily sets a static date to be used within the callback.
CarbonInterface::weeksUntil() — Method in classCarbonInterface
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.
$CarbonInterval#weeksProperty in classCarbonInterval
Total weeks of the current interval calculated from the days.
CarbonInterval::weeksAndDays() — Method in classCarbonInterval
Allow setting of weeks and days to be cumulative.
Factory::withTestNow() — Method in classFactory
Temporarily sets a static date to be used within the callback.
FactoryImmutable::withTestNow() — Method in classFactoryImmutable
Temporarily sets a static date to be used within the callback.
$Date#weekProperty in classDate
1 through 53
$Date#weekYearProperty in classDate
year according to week format
Date::weekday() — Method in classDate
Get/set the weekday from 0 (Sunday) to 6 (Saturday).
Date::weeksUntil() — Method in classDate
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.
$Options#weekStartsAtProperty in classOptions
First day of week.
$Options#weekEndsAtProperty in classOptions
Last day of week.
$Options#weekendDaysProperty in classOptions
Days of weekend.
Test::withTestNow() — Method in classTest
Temporarily sets a static date to be used within the callback.
WeekClass in namespaceCarbon\Traits
Trait Week.
Week::weekYear() — Method in classWeek
Set/get the week number of year using given first day of week and first day of year included in the first week. Or use US format if no settings given (Sunday / Jan 6).
Week::weeksInYear() — Method in classWeek
Get the number of weeks of the current week-year using given first day of week and first day of year included in the first week. Or use US format if no settings given (Sunday / Jan 6).
Week::week() — Method in classWeek
Get/set the week number using given first day of week and first day of year included in the first week. Or use US format if no settings given (Sunday / Jan 6).

Y

$Carbon#yearProperty in classCarbon
$Carbon#yearIsoProperty in classCarbon
Carbon::yearsUntil() — Method in classCarbon
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.
$CarbonImmutable#yearProperty in classCarbonImmutable
$CarbonImmutable#yearIsoProperty in classCarbonImmutable
CarbonImmutable::years() — Method in classCarbonImmutable
Set current instance year to the given value.
CarbonImmutable::year() — Method in classCarbonImmutable
Set current instance year to the given value.
CarbonImmutable::yearsUntil() — Method in classCarbonImmutable
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.
$CarbonInterface#yearProperty in classCarbonInterface
$CarbonInterface#yearIsoProperty in classCarbonInterface
CarbonInterface::yesterday() — Method in classCarbonInterface
Create a Carbon instance for yesterday.
CarbonInterface::years() — Method in classCarbonInterface
Set current instance year to the given value.
CarbonInterface::year() — Method in classCarbonInterface
Set current instance year to the given value.
CarbonInterface::yearsUntil() — Method in classCarbonInterface
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.
$CarbonInterval#yearsProperty in classCarbonInterval
Total years of the current interval.
Factory::yesterday() — Method in classFactory
Create a Carbon instance for yesterday.
FactoryImmutable::yesterday() — Method in classFactoryImmutable
Create a Carbon instance for yesterday.
$Boundaries#yearProperty in classBoundaries
Creator::yesterday() — Method in classCreator
Create a Carbon instance for yesterday.
$Date#yearProperty in classDate
$Date#yearIsoProperty in classDate
Date::years() — Method in classDate
Set current instance year to the given value.
Date::year() — Method in classDate
Set current instance year to the given value.
Date::yearsUntil() — Method in classDate
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.
$Options#yearsOverflowProperty in classOptions
Indicates if years should be calculated with overflow.
$Serialization#yearProperty in classSerialization
$Week#yearProperty in classWeek
Depends on the following methods:
Week::year() — Method in classWeek

_

AbstractTranslator::__construct() — Method in classAbstractTranslator
AbstractTranslator::__debugInfo() — Method in classAbstractTranslator
Show locale on var_dump().
CarbonImmutable::__clone() — Method in classCarbonImmutable
Update constructedObjectId on cloned.
CarbonInterface::__call() — Method in classCarbonInterface
Dynamically handle calls to the class.
CarbonInterface::__callStatic() — Method in classCarbonInterface
Dynamically handle calls to the class.
CarbonInterface::__clone() — Method in classCarbonInterface
Update constructedObjectId on cloned.
CarbonInterface::__construct() — Method in classCarbonInterface
Create a new Carbon instance.
CarbonInterface::__debugInfo() — Method in classCarbonInterface
Show truthy properties on var_dump().
CarbonInterface::__get() — Method in classCarbonInterface
Get a part of the Carbon object
CarbonInterface::__isset() — Method in classCarbonInterface
Check if an attribute exists on the object
CarbonInterface::__set() — Method in classCarbonInterface
Set a part of the Carbon object
CarbonInterface::__set_state() — Method in classCarbonInterface
CarbonInterface::__sleep() — Method in classCarbonInterface
Returns the list of properties to dump on serialize() called on.
CarbonInterface::__toString() — Method in classCarbonInterface
Format the instance as a string using the set format
CarbonInterval::__construct() — Method in classCarbonInterval
Create a new CarbonInterval instance.
CarbonInterval::__callStatic() — Method in classCarbonInterval
Provide static helpers to create instances. Allows CarbonInterval::years(3).
CarbonInterval::__get() — Method in classCarbonInterval
Get a part of the CarbonInterval object.
CarbonInterval::__set() — Method in classCarbonInterval
Set a part of the CarbonInterval object.
CarbonInterval::__call() — Method in classCarbonInterval
Allow fluent calls on the setters.
CarbonInterval::__toString() — Method in classCarbonInterval
Format the instance as a string using the forHumans() function.
CarbonPeriod::__callStatic() — Method in classCarbonPeriod
Provide static proxy for instance aliases.
CarbonPeriod::__construct() — Method in classCarbonPeriod
CarbonPeriod constructor.
CarbonPeriod::__get() — Method in classCarbonPeriod
Get a property allowing both DatePeriod snakeCase and camelCase names.
CarbonPeriod::__isset() — Method in classCarbonPeriod
Check if an attribute exists on the object
CarbonPeriod::__toString() — Method in classCarbonPeriod
Convert the date period into a string.
CarbonPeriod::__call() — Method in classCarbonPeriod
Add aliases for setters.
CarbonTimeZone::__construct() — Method in classCarbonTimeZone
CarbonTimeZone::__toString() — Method in classCarbonTimeZone
Cast to string (get timezone name).
Invoker::__invoke() — Method in classInvoker
BadComparisonUnitException::__construct() — Method in classBadComparisonUnitException
Constructor.
BadFluentConstructorException::__construct() — Method in classBadFluentConstructorException
Constructor.
BadFluentSetterException::__construct() — Method in classBadFluentSetterException
Constructor.
ImmutableException::__construct() — Method in classImmutableException
Constructor.
InvalidDateException::__construct() — Method in classInvalidDateException
Constructor.
NotACarbonClassException::__construct() — Method in classNotACarbonClassException
Constructor.
NotLocaleAwareException::__construct() — Method in classNotLocaleAwareException
Constructor.
OutOfRangeException::__construct() — Method in classOutOfRangeException
Constructor.
ParseErrorException::__construct() — Method in classParseErrorException
Constructor.
UnitNotConfiguredException::__construct() — Method in classUnitNotConfiguredException
Constructor.
UnknownGetterException::__construct() — Method in classUnknownGetterException
Constructor.
UnknownMethodException::__construct() — Method in classUnknownMethodException
Constructor.
UnknownSetterException::__construct() — Method in classUnknownSetterException
Constructor.
UnknownUnitException::__construct() — Method in classUnknownUnitException
Constructor.
Factory::__construct() — Method in classFactory
Factory::__call() — Method in classFactory
Language::__construct() — Method in classLanguage
Language::__toString() — Method in classLanguage
Returns the original locale ID.
AbstractMacro::__construct() — Method in classAbstractMacro
Macro constructor.
MacroExtension::__construct() — Method in classMacroExtension
Extension constructor.
Converter::__toString() — Method in classConverter
Format the instance as a string using the set format
Creator::__construct() — Method in classCreator
Create a new Carbon instance.
Creator::__clone() — Method in classCreator
Update constructedObjectId on cloned.
Date::__get() — Method in classDate
Get a part of the Carbon object
Date::__isset() — Method in classDate
Check if an attribute exists on the object
Date::__set() — Method in classDate
Set a part of the Carbon object
Date::__callStatic() — Method in classDate
Dynamically handle calls to the class.
Date::__call() — Method in classDate
Dynamically handle calls to the class.
Options::__debugInfo() — Method in classOptions
Show truthy properties on var_dump().
Serialization::__set_state() — Method in classSerialization
Serialization::__sleep() — Method in classSerialization
Returns the list of properties to dump on serialize() called on.
Serialization::__serialize() — Method in classSerialization
Serialization::__wakeup() — Method in classSerialization
Serialization::__unserialize() — Method in classSerialization
TranslatorImmutable::__construct() — Method in classTranslatorImmutable