From b9fc37ae190dfd54a72a2bf2001b1b8a4bd80c9e Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Thu, 29 Jan 2009 12:00:26 -0500 Subject: [PATCH] port the non-functional season repeaters --- .../Date/Parser/Locale/Base/Repeater/Season.php | 54 ++++++++++--------- .../Parser/Locale/Base/Repeater/SeasonName.php | 60 +++++++++++++--------- 2 files changed, 67 insertions(+), 47 deletions(-) diff --git a/framework/Date_Parser/lib/Horde/Date/Parser/Locale/Base/Repeater/Season.php b/framework/Date_Parser/lib/Horde/Date/Parser/Locale/Base/Repeater/Season.php index a255865fb..1c57d1c2a 100644 --- a/framework/Date_Parser/lib/Horde/Date/Parser/Locale/Base/Repeater/Season.php +++ b/framework/Date_Parser/lib/Horde/Date/Parser/Locale/Base/Repeater/Season.php @@ -1,23 +1,31 @@ -class Chronic::RepeaterSeason < Chronic::Repeater #:nodoc: - SEASON_SECONDS = 7_862_400 # 91 * 24 * 60 * 60 - - def next(pointer) - super - - raise 'Not implemented' - end - - def this(pointer = :future) - super - - raise 'Not implemented' - end - - def width - SEASON_SECONDS - end - - def to_s - super << '-season' - end -end \ No newline at end of file +type; + } + +} -- 2.11.0