Error 403 from Google Calendar? Upgrade to the new Google Calendar support. See here for details. close
Welcome, Guest
Please Login or Register.    Lost Password?

[Solved] How to filter no due date tasks ?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: [Solved] How to filter no due date tasks ?
#18908
[Solved] How to filter no due date tasks ? 1 Year, 9 Months ago  
As title.
I know how to use Rainlendar_ListAllComponents(), but it can only return all events/tasks or just on a specific day.
If I only want to look no due date tasks, how can I do ?
anoob
Platinum Boarder
Posts: 510
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: TaiChung, Taiwan, R.O.C. Birthday: 02/12
Last Edit: 2013/06/07 13:30 By anoob.
The administrator has disabled public write access.
I couldn't speak English! This skin released to Customize.org(Do you want it? Click Picture) Please contact me if interested: jhg5702@gmail.com
 
#18909
Re: How to filter no due date tasks ? 1 Year, 9 Months ago  
I can think in getting all components, then filter only those which are task (they begin with "BEGIN:VTODO") and then looking one by one for those which doesn't have "DUE:" in the iCalendar data? (this could be made capturing "DUE:(.-)\n", and if it's null then it doesn't have a due date)
The events in the table can be removed if you need a short table (in stackoverflow.com/questions/12394841/safely-remove-items-from-an-array-table-while-iterating there is a very good way to do this in a O(n) complexity)
Jorge_Luis
Platinum Boarder
Posts: 795
graphgraph
User Offline Click here to see the profile of this user
Gender: Male My Rainlendar Skins Location: Argentina Birthday: 03/15
The administrator has disabled public write access.
 
#18911
Re: How to filter no due date tasks ? 1 Year, 9 Months ago  
Thanks, I will to try.
anoob
Platinum Boarder
Posts: 510
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: TaiChung, Taiwan, R.O.C. Birthday: 02/12
The administrator has disabled public write access.
I couldn't speak English! This skin released to Customize.org(Do you want it? Click Picture) Please contact me if interested: jhg5702@gmail.com
 
Go to topPage: 1
get the latest posts directly to your desktop