Interval:时间间隔-具有时间间隔的DateTime

时间:2021-04-22 20:56:48
【文件属性】:
文件名称:Interval:时间间隔-具有时间间隔的DateTime
文件大小:10KB
文件格式:ZIP
更新时间:2021-04-22 20:56:48
Raku 名称 时间间隔-具有时间间隔的DateTime 概要 use Interval; # just export the Interval class my $a = Interval . new ( 2020 , 1 , 1 , 0 , 0 , 0 ); # from 2020, interval of 1 hour say $a; # 2020-01-01T00:00:00Z $a ++ ; # 2020-01-01T01:00:00Z # one hour later say $a . seconds; # 3600 my $b = Interval[ 60 ] . new ( time ); # from now, interval of 1 minute say $b; # 2020-04-03T11:42:09Z $
【文件预览】:
Interval-master
----.github()
--------workflows()
----t()
--------01-basic.t(955B)
--------02-refine.t(963B)
----lib()
--------Interval.pm6(4KB)
----Changes(328B)
----dist.ini(110B)
----META6.json(449B)
----LICENSE(9KB)
----README.md(3KB)
----.gitignore(111B)
----run-tests(955B)

网友评论