Searched refs:TimestampInterface (Results 1 – 7 of 7) sorted by relevance
25 interface TimestampInterface interface64 * @param TimestampInterface $timestamp68 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;[all …]
31 * @return TimestampInterface33 public function make(int $timestamp, UserInterface|null $user = null): TimestampInterface;40 * @return TimestampInterface42 …null $string, string $format = 'Y-m-d H:i:s', UserInterface|null $user = null): TimestampInterface;47 * @return TimestampInterface49 public function now(UserInterface|null $user = null): TimestampInterface;
24 use Fisharebest\Webtrees\Contracts\TimestampInterface; alias31 class Timestamp implements TimestampInterface76 public function compare(TimestampInterface $timestamp): int81 public function addSeconds(int $seconds): TimestampInterface90 public function addMinutes(int $minutes): TimestampInterface99 public function addHours(int $hours): TimestampInterface108 public function addDays(int $days): TimestampInterface117 public function addMonths(int $months): TimestampInterface126 public function addYears(int $years): TimestampInterface135 public function subtractSeconds(int $seconds): TimestampInterface[all …]
24 use Fisharebest\Webtrees\Contracts\TimestampInterface; alias702 * @return TimestampInterface704 public function lastChangeTimestamp(): TimestampInterface
24 use Fisharebest\Webtrees\Contracts\TimestampInterface; alias44 * @return TimestampInterface46 public function make(int $timestamp, UserInterface|null $user = null): TimestampInterface60 * @return TimestampInterface62 …|null $string, string $format = 'Y-m-d H:i:s', UserInterface|null $user = null): TimestampInterface77 * @return TimestampInterface79 public function now(UserInterface|null $user = null): TimestampInterface
23 use Fisharebest\Webtrees\Contracts\TimestampInterface; alias280 * @return TimestampInterface282 public function latestVersionTimestamp(): TimestampInterface
5 use Fisharebest\Webtrees\Contracts\TimestampInterface; alias112 * @var TimestampInterface $latest_version_timestamp