Sah/Schema/datetime/default_start_of_today_utc.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« Sah/Schema/datetime/default_start_of_today_local.pm ↑ Summary Sah/SchemaR/date/day.pm »
1 package Sah::Schema::datetime::default_start_of_today_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 start of today (00:00:00), UTC',
12 'x.perl.default_value_rules' => ['Date::datetime::start_of_today_utc'],
13 examples => [
14 ],
15 }];
16  
17 1 1;
18  
19 # ABSTRACT: Datetime with default of start of today (00:00:00), UTC
20  
21 __END__
« Sah/Schema/datetime/default_start_of_today_local.pm ↑ Summary Sah/SchemaR/date/day.pm »