Steven Oxley
d5f52a297a
Added a method for find the very last occurrence of an event.
2009-10-28 17:02:05 -04:00
Steven Oxley
8ca1c0297f
Added a test to the FreqTest.php tests.
2009-10-28 17:00:08 -04:00
Steven Oxley
6496c4f1f9
Changed the name of the 'lastOccurrence' method to 'previousOccurrence' so that it describes the actual behavior.
2009-10-27 17:42:14 -04:00
Steven Oxley
f8d988b4b6
Added test suites so that regression testing is easier.
2009-10-27 12:14:14 -04:00
Steven Oxley
7464dfbef5
Fixed a bug with calculating the offset for a timezone.
...
Previously, it was just checking to see if daylight savings time had started for that year. Now it checks to see which happened last - the switch to daylight savings or the switch back to standard time.
2009-10-27 12:07:10 -04:00
Steven Oxley
1e3147ecb2
Added 'until' support for figuring out the end date of an event.
2009-10-27 12:05:04 -04:00
Steven Oxley
bff0c9b08c
Fixed a bug that was introduced with the removal of the hasParam() method.
2009-10-27 10:29:56 -04:00
Steven Oxley
14f4772efe
Created tests for the VEvent class.
2009-10-27 09:44:57 -04:00
Steven Oxley
c5b1402ab9
Fixed what I believe was a bug involving timezones and timestamp parsing. It now works as I would expect it to.
2009-10-27 09:44:01 -04:00
Steven Oxley
b7ecdff2ab
Added a class for parsing RRULE lines.
2009-10-22 18:04:00 -04:00
Steven Oxley
097b861a4e
Changed SG_iCalReader.php to SG_iCal.php in build.sh to accomodate the name change.
2009-10-21 17:56:14 -04:00
U-PRECISION-T3500\sajo
7146d1cf6a
Fixed some problems with the unit tests - specifically a mis-named file and a timezone problem (not everyone lives in Copenhagen :P ).
2009-10-21 16:59:04 -04:00
fangel
047ea8e7b3
Added a method for parsing strings instead of urls (on suggestion from A. Obrero)
2009-02-28 09:21:07 +00:00
fangel
56b590b06a
Renamed SG_iCalReader.php to SG_iCal.php
2009-01-10 11:12:56 +00:00
fangel
4a0982f9fd
Renamed SG_iCalReader to SG_iCal. Moved the parsing to a separate class.
2009-01-10 11:10:45 +00:00
fangel
f702b4a79b
First few tests added. Freq-tests are from the RFC's list of rules and known recurrences.
2008-04-18 20:19:44 +00:00
fangel
c64e54fcc5
First working draft of Freq-calculation. Needs reworking, but sure work for most rules now. SETPOS and WKST not supported, and has issues when more than one multi-rule
2008-04-18 20:18:53 +00:00
fangel
f6c9aae241
Added check for safe-mode before trying to set curlopt follow location
2008-04-09 11:59:56 +00:00
fangel
57b118ef98
Added implicit call to getData when getting section-names..
2008-04-09 11:57:55 +00:00
fangel
c306da79f4
Fixed issue with SG_iCal_Query and supplying the SG_iCalReader directly, instead of the Events array.
2008-03-25 18:36:18 +00:00
fangel
b17871f72d
Added comments to SG_iCal_Query::Sort
2008-03-25 18:28:25 +00:00
fangel
3129a15965
Improved SG_iCal_Query and added run-time inclusion of it.
2008-03-25 18:26:52 +00:00
fangel
9a6ac5a6fa
Added getProperty functionality to VEvent.
...
Fixed bug relating to TZs. (I so I hope)
2008-03-25 18:26:16 +00:00
fangel
9bd65c634d
Added another replacement: \" -> ".
2008-03-25 18:25:33 +00:00
fangel
2c4dc52c76
Changed build-script to first take SG_iCalReader, then the helpers then the blocks
2008-03-19 09:42:45 +00:00
fangel
db3e10f5a2
Changed VEvent.isConfirmed to return VEvent.DEFAULT_CONFIRMED when no status is defined. This is because alot of calendars doesn't have the status field, and returning false isn't always what's wanted.
...
No sure what the RFC says, couldn't find the default value for STATUS
2008-03-19 09:35:14 +00:00
fangel
87bf23b6d0
Added replacement for ':', in SG_iCal_Line
2008-03-01 09:25:13 +00:00
fangel
e6878d3281
Added a getDuration method to SG_iCal_VEvent
2008-03-01 08:59:29 +00:00
fangel
4b306bf68d
Added the SG_iCal_Query class with a collection of functions to query a calendar for events.
...
Updated road-map.
2008-03-01 08:53:15 +00:00
fangel
1ba645df03
Changed version to hardcoded since the keyword doesnt seem to kick in.
2008-02-29 13:34:46 +00:00
fangel
006186450e
Second shot at doing the Id-keyword
2008-02-29 13:32:46 +00:00
fangel
5b063229b0
Added Version line (and checking auto-prop-set)
2008-02-29 13:30:33 +00:00
fangel
4d15eab1a5
Various typos and cleanups
2008-02-27 11:40:13 +00:00
fangel
efe8d82bb0
Added getLocation to VEvent
2008-02-27 11:39:52 +00:00
fangel
ba4734ae61
Updated VEvent. Duration instead of DTEnd now works. Added query-methods for start and end of event
2008-02-27 08:50:57 +00:00
fangel
c8d651de06
Fixed bug in line unfolding
2008-02-27 08:50:08 +00:00
fangel
f2a47ad8bf
Fixed a few issues that could/would raise E_NOTICEs..
2008-02-24 12:16:55 +00:00
fangel
12b0ab0f26
Removed _more_ misspellings of duration.. For the record: it's not spelled duraction..
2008-02-24 11:53:20 +00:00
fangel
e2b966c059
Added the SG_iCal_Duraction helper. Not used yet, but will be..
2008-02-24 11:50:08 +00:00
fangel
55fc94f743
Updated @license tag since I discovered that it's @license link name, not @licence name (link)
2008-02-24 11:05:01 +00:00
fangel
fd5e8fa825
Added a missing remove-line
2008-02-23 13:31:31 +00:00
fangel
4361cbf5b1
Fixed build-script to ignore svn-files..
2008-02-23 13:24:03 +00:00
fangel
6a544d0aaf
Updated the comments in the files. Now 100% php-doc coverage..
2008-02-23 13:01:19 +00:00
fangel
478f3e91d0
Initial import of SG_iCalReader
2008-02-23 10:49:16 +00:00