|
|
test for bug #1230 added
@main[]
$d[^date::create[2050-01-01]]
$d.year($d.year-1)
$d.month[-1]
$d.day(1)
$d.hour(25)
$d.minute(7e01)
$d.second(70.999)
^d.sql-string[]
should be 0: ^eval($d - $d)
^try-catch{$d.year(1e6)}
^try-catch{$d.ups[2]}
^try-catch{$d.year{2000}}