PureBasic Forum
http://forums.purebasic.com/english/

[Module] iCalModule.pbi (all OS)
http://forums.purebasic.com/english/viewtopic.php?f=27&t=73180
Page 1 of 1

Author:  Thorsten1867 [ Fri Jul 12, 2019 3:48 pm ]
Post subject:  [Module] iCalModule.pbi (all OS)

iCal - Module (all OS / 64Bit)

Support for iCal files (import/export)

Code:
; iCal::AddEvent()    - adds an event to iCal
; iCal::ClearEvents() - clear all events
; iCal::Create()      - create an iCal entry
; iCal::ExportFile()  - export as iCal file (*.ics)
; iCal::GetEvents()   - get events as linked list (iCal::Event_Structure)
; iCal::ImportFile()  - import an iCal file (*.ics)
; iCal::Remove(ID.i)  - remove the iCal entry

Download: iCalModule.pbi

Author:  Cyllceaux [ Fri Oct 18, 2019 7:24 am ]
Post subject:  Re: [Module] iCalModule.pbi (all OS)

Nice work... But found some issues:

1) Create returns #True/#False. But if I put #PB_Any in it... How can I receive the "new" ID?
2) The iCal allows something like that:
Code:
SUMMARY;LANGUAGE=de:Wir haben mal eine Frage zu GEBI

Code:
DTEND;TZID="W. Europe Standard Time":20191016T143000
DTSTART;TZID="W. Europe Standard Time":20191016T140000

Code:
DTSTART;VALUE=DATE:20180307

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/