Home
last modified time | relevance | path

Searched refs:TimestampInterface (Results 1 – 7 of 7) sorted by relevance

/webtrees/app/Contracts/
H A DTimestampInterface.php25 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;
[all …]
H A DTimestampFactoryInterface.php31 * @return TimestampInterface
33 public function make(int $timestamp, UserInterface|null $user = null): TimestampInterface;
40 * @return TimestampInterface
42 …null $string, string $format = 'Y-m-d H:i:s', UserInterface|null $user = null): TimestampInterface;
47 * @return TimestampInterface
49 public function now(UserInterface|null $user = null): TimestampInterface;
/webtrees/app/
H A DTimestamp.php24 use Fisharebest\Webtrees\Contracts\TimestampInterface; alias
31 class Timestamp implements TimestampInterface
76 public function compare(TimestampInterface $timestamp): int
81 public function addSeconds(int $seconds): TimestampInterface
90 public function addMinutes(int $minutes): TimestampInterface
99 public function addHours(int $hours): TimestampInterface
108 public function addDays(int $days): TimestampInterface
117 public function addMonths(int $months): TimestampInterface
126 public function addYears(int $years): TimestampInterface
135 public function subtractSeconds(int $seconds): TimestampInterface
[all …]
H A DGedcomRecord.php24 use Fisharebest\Webtrees\Contracts\TimestampInterface; alias
702 * @return TimestampInterface
704 public function lastChangeTimestamp(): TimestampInterface
/webtrees/app/Factories/
H A DTimestampFactory.php24 use Fisharebest\Webtrees\Contracts\TimestampInterface; alias
44 * @return TimestampInterface
46 public function make(int $timestamp, UserInterface|null $user = null): TimestampInterface
60 * @return TimestampInterface
62 …|null $string, string $format = 'Y-m-d H:i:s', UserInterface|null $user = null): TimestampInterface
77 * @return TimestampInterface
79 public function now(UserInterface|null $user = null): TimestampInterface
/webtrees/app/Services/
H A DUpgradeService.php23 use Fisharebest\Webtrees\Contracts\TimestampInterface; alias
280 * @return TimestampInterface
282 public function latestVersionTimestamp(): TimestampInterface
/webtrees/resources/views/admin/
H A Dcontrol-panel.phtml5 use Fisharebest\Webtrees\Contracts\TimestampInterface; alias
112 * @var TimestampInterface $latest_version_timestamp