« Sah/Schema/datetime/default_end_of_last_month_local.pm
↑ Summary
Sah/Schema/datetime/default_end_of_yesterday_local.pm »
| 1 | package Sah::Schema::datetime::default_end_of_last_month_utc; | ||
| 2 | |||
| 3 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 1 | our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY | |
| 6 | 1 | our $DATE = '2023-12-09'; # DATE | |
| 7 | 1 | our $DIST = 'Sah-Schemas-Date'; # DIST | |
| 8 | 1 | our $VERSION = '0.019'; # VERSION | |
| 9 | |||
| 10 | 1 | our $schema = ['datetime' => { | |
| 11 | summary => 'Datetime with default of end of last month (23:59:59/60), UTC', | ||
| 12 | 'x.perl.default_value_rules' => ['Date::datetime::end_of_last_month_utc'], | ||
| 13 | examples => [ | ||
| 14 | ], | ||
| 15 | }]; | ||
| 16 | |||
| 17 | 1 | 1; | |
| 18 | |||
| 19 | # ABSTRACT: Datetime with default of end of last month (23:59:59/60), UTC | ||
| 20 | |||
| 21 | __END__ | ||