view test/octave.test/system/localtime-1.m @ 2742:eeb061f9cdbf

[project @ 1997-02-26 04:29:07 by jwe]
author jwe
date Wed, 26 Feb 1997 04:29:48 +0000
parents
children 7c96e85c76db
line wrap: on
line source

ts = localtime (time ())
(is_struct (ts)
 && struct_contains (ts, "usec")
 && struct_contains (ts, "year")
 && struct_contains (ts, "mon")
 && struct_contains (ts, "mday")
 && struct_contains (ts, "sec")
 && struct_contains (ts, "zone")
 && struct_contains (ts, "min")
 && struct_contains (ts, "wday")
 && struct_contains (ts, "hour")
 && struct_contains (ts, "isdst")
 && struct_contains (ts, "yday"))