blob: 9d99930856dc7748ed161a1d09b0d7e8edbf66c8 (
plain)
1
2
3
4
5
6
7
8
9
|
install libical (/usr/ports/devel/libical)
run gen.sh in this directory
find chaos_calendar ruby extension in ./
irb
>> require 'chaos_calendar'
occ_array = Chaos_calendar::occurrences( "20000101T230000", "20091231T230000", "FREQ=DAILY;COUNT=1200" )
Be aware that the array is in UTC and will be converted to your local timezone before it is used.
|