repo.or.cz
/
fuzed.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Merge branch 'gem'
[fuzed.git]
/
helloworld
/
vendor
/
gems
/
chronic-0.2.2
/
lib
/
chronic
/
repeaters
/
repeater_season.rb
blob
a255865fb46d6f513032e26c998096b8b3e9749a
1
class Chronic::RepeaterSeason < Chronic::Repeater #:nodoc:
2
SEASON_SECONDS = 7_862_400 # 91 * 24 * 60 * 60
3
4
def next(pointer)
5
super
6
7
raise 'Not implemented'
8
end
9
10
def this(pointer = :future)
11
super
12
13
raise 'Not implemented'
14
end
15
16
def width
17
SEASON_SECONDS
18
end
19
20
def to_s
21
super << '-season'
22
end
23
end