Searched refs:subtractHours (Results 1 – 3 of 3) sorted by relevance
45 self::assertSame('5 hours ago', $timestamp->subtractHours(5)->diffForHumans());54 self::assertSame('il y a 5 heures', $timestamp->subtractHours(5)->diffForHumans());208 self::assertSame('2023-12-17 15:21:19', $timestamp->subtractHours(1)->toDateTimeString());209 self::assertSame('2023-12-17 17:21:19', $timestamp->subtractHours(-1)->toDateTimeString());
131 public function subtractHours(int $hours): TimestampInterface; function
153 public function subtractHours(int $hours): TimestampInterface function in Fisharebest\\Webtrees\\Timestamp