PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.9
GiveWP – Donation Plugin and Fundraising Platform v4.16.9
4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 All 255 releases
give / src / Framework / Support / Facades / DateTime / Temporal.php

Temporal.php in GiveWP – Donation Plugin and Fundraising Platform 4.16.9, at src/Framework/Support/Facades/DateTime/Temporal.php

31 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Give\Framework\Support\Facades\DateTime;
4
5 use DateTimeInterface;
6 use Give\Framework\Support\Facades\Facade;
7
8 /**
9 * @since 4.0.0 added withStartOfDay, withEndOfDay, immutableOrClone
10 * @since 3.20. added getDateTimestamp
11 * @since 2.19.6
12 *
13 * @method static DateTimeInterface toDateTime(string $date)
14 * @method static DateTimeInterface getCurrentDateTime()
15 * @method static string getFormattedDateTime(DateTimeInterface $dateTime)
16 * @method static string getCurrentFormattedDateForDatabase()
17 * @method static DateTimeInterface withoutMicroseconds(DateTimeInterface $dateTime)
18 * @method static DateTimeInterface withStartOfDay(DateTimeInterface $dateTime)
19 * @method static DateTimeInterface withEndOfDay(DateTimeInterface $dateTime)
20 * @method static DateTimeInterface immutableOrClone(DateTimeInterface $dateTime)
21 * @method static int getDateTimestamp(string $date, string $timezone = '')
22 * @method static string getFormattedDateTimeUsingTimeZoneAndFormatSettings(DateTimeInterface $dateTime)
23 */
24 class Temporal extends Facade
25 {
26 protected function getFacadeAccessor(): string
27 {
28 return TemporalFacade::class;
29 }
30 }
31