Diff for /parser3/tests/131.html between versions 1.3 and 1.4

version 1.3, 2008/09/04 10:05:09 version 1.4, 2015/09/22 00:12:33
Line 1 Line 1
 @main[]  @main[]
 ^try{     ^do[3000-01-01]
         ^mustfail[]  ^date:roll[TZ;EST5]
 }{  ^show[EST5;^date::create[$dt]]
         ^if($exception.type eq 'date.range'){  ^do[3000-01-01]
                 failed, that's OK  
                 $exception.handled(1)  
         }  
 }  
   
 @mustfail[]  ^do[1000-01-01]
 $d[^date::create(1018946575/60/60)] ^d.sql-string[]  ^date:roll[TZ;EST5]
   ^show[EST5;^date::create[$dt]]
   ^do[1000-01-01]
   
   ^date:roll[TZ;UTC]
   
   ^do[-1-01-01]
   ^do[10000-01-01]
   ^do[9999-12-32]
   ^do[0]
   ^do[0-1]
   ^do[0-0]
   ^do[0-0-1]
   ^do[0-0-0]
   ^do[0-1-1]
   ^do[0-0-2999999]
   
   
   
   @do[s]
   [$s]
   ^try-catch{$caller.dt[^date::create[$s]]^show[$s;$caller.dt]}
   
   @show[s;dt]
   [$s] timestamp:  ^dt.unix-timestamp[]
   [$s] sql-string: ^dt.sql-string[] $dt.TZ
   [$s] iso-string: ^dt.iso-string[]

Removed from v.1.3  
changed lines
  Added in v.1.4


E-mail: