12 @times = (-2**62, -2**50, -2**33, -2**31-1, -1, 0, 1, 2**31-1, 2**33, 2**50, 2**62, time);
13 @methods = qw(sec min hour mday mon year wday yday isdst);
15 plan tests => (@times * @methods) + 1;
20 for my $time (@times) {
21 my $gmtime = gmtime $time; # This is the OO gmtime.
22 my @gmtime = CORE::gmtime $time; # This is the gmtime function
24 for my $method (@methods) {
25 is $gmtime->$method, shift @gmtime, "gmtime($time)->$method";