diff --git a/src/Date.php b/src/Date.php index 3bea034..f5461a0 100644 --- a/src/Date.php +++ b/src/Date.php @@ -151,6 +151,11 @@ public function datesUntil( return $dates; } + public function weekday(): Weekday + { + return Weekday::fromDate($this); + } + // Mutations public function format(string $format): string