X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/f832b29a2b3f71c66c6e6b76a02b5faefe0ebeb1..7415a9c182cfb100de91c5cb7eb95ea63b23c7c5:/time64.c diff --git a/time64.c b/time64.c index 7d6246f..ca7f786 100644 --- a/time64.c +++ b/time64.c @@ -72,16 +72,6 @@ static const short safe_years[SOLAR_CYCLE_LENGTH] = { 2012, 2013, 2014, 2015 }; -static const char dow_year_start[SOLAR_CYCLE_LENGTH] = { - 5, 0, 1, 2, /* 0 2016 - 2019 */ - 3, 5, 6, 0, /* 4 */ - 1, 3, 4, 5, /* 8 */ - 6, 1, 2, 3, /* 12 */ - 4, 6, 0, 1, /* 16 */ - 2, 4, 5, 6, /* 20 2036, 2037, 2010, 2011 */ - 0, 2, 3, 4 /* 24 2012, 2013, 2014, 2015 */ -}; - /* Let's assume people are going to be looking for dates in the future. Let's provide some cheats so you can skip ahead. This has a 4x speed boost when near 2008.