Lines Matching refs:this
37 $this->carbon = CarbonImmutable::createFromTimestamp($timestamp, $timezone);
38 $this->carbon->locale($locale);
43 $this->carbon = clone($this->carbon);
48 return gregoriantojd($this->carbon->month, $this->carbon->day, $this->carbon->year);
53 return $this->carbon->diffForHumans();
58 return $this->carbon->format($format);
63 return $this->carbon->isoFormat($format);
68 return $this->carbon->format('Y-m-d');
73 return $this->carbon->format('Y-m-d H:i:s');
78 return $this->timestamp() <=> $timestamp->timestamp();
84 $this->carbon->addSeconds($seconds)->getTimestamp(),
85 $this->carbon->timezone->getName(),
86 $this->carbon->locale
93 $this->carbon->addMinutes($minutes)->getTimestamp(),
94 $this->carbon->timezone->getName(),
95 $this->carbon->locale
102 $this->carbon->addHours($hours)->getTimestamp(),
103 $this->carbon->timezone->getName(),
104 $this->carbon->locale
111 $this->carbon->addDays($days)->getTimestamp(),
112 $this->carbon->timezone->getName(),
113 $this->carbon->locale
120 $this->carbon->addMonths($months)->getTimestamp(),
121 $this->carbon->timezone->getName(),
122 $this->carbon->locale
129 $this->carbon->addYears($years)->getTimestamp(),
130 $this->carbon->timezone->getName(),
131 $this->carbon->locale
138 $this->carbon->subSeconds($seconds)->getTimestamp(),
139 $this->carbon->timezone->getName(),
140 $this->carbon->locale
147 $this->carbon->subMinutes($minutes)->getTimestamp(),
148 $this->carbon->timezone->getName(),
149 $this->carbon->locale
156 $this->carbon->subHours($hours)->getTimestamp(),
157 $this->carbon->timezone->getName(),
158 $this->carbon->locale
165 $this->carbon->subDays($days)->getTimestamp(),
166 $this->carbon->timezone->getName(),
167 $this->carbon->locale
174 $this->carbon->subMonths($months)->getTimestamp(),
175 $this->carbon->timezone->getName(),
176 $this->carbon->locale
183 $this->carbon->subYears($years)->getTimestamp(),
184 $this->carbon->timezone->getName(),
185 $this->carbon->locale
191 return $this->carbon->getTimestamp();