Lines Matching refs:TimestampInterface
25 interface TimestampInterface interface
64 * @param TimestampInterface $timestamp
68 public function compare(TimestampInterface $timestamp): int;
75 public function addSeconds(int $seconds): TimestampInterface;
82 public function addMinutes(int $minutes): TimestampInterface;
89 public function addHours(int $hours): TimestampInterface;
96 public function addDays(int $days): TimestampInterface;
103 public function addMonths(int $months): TimestampInterface;
110 public function addYears(int $years): TimestampInterface;
117 public function subtractSeconds(int $seconds): TimestampInterface;
124 public function subtractMinutes(int $minutes): TimestampInterface;
131 public function subtractHours(int $hours): TimestampInterface;
138 public function subtractDays(int $days): TimestampInterface;
145 public function subtractMonths(int $months): TimestampInterface;
152 public function subtractYears(int $years): TimestampInterface;