Displaying 2 results from an estimated 2 matches for "add_recurrence_rule".
2010 Oct 14
1
Ice Cube Rails problem
I''m using Ice_Cube to try and get the rule from a Model to be used to
create a schedule, like so:
@temp_sched.add_recurrence_rule
IceCube::Rule.from_yaml(Transaction.last.rule)
However this doesn''t seem to be the right thing, I just want to create
a new Rule using the rule specified for each Model.
IceCube::Rule.new(the rule) would be a good way, but this doesn''t seem
to exist.
Anyone know of a good way to...
2008 Aug 22
0
Question about Timezone In 1.0.2
...lendar.new
cal.timezone do
timezone_id "America/Chicago"
daylight do
timezone_offset_from "-0600"
timezone_offset_to "-0500"
timezone_name "CDT"
dtstart "19700308TO20000"
add_recurrence_rule "FREQ=YEARLY;BYMONTH=3;BYDAY=2SU"
end
standard do
timezone_offset_from "-0500"
timezone_offset_to "-0600"
timezone_name "CST"
dtstart "19701101T020000"
add_recurrence_rule "YE...