Welcome, Guest
Please Login or Register.    Lost Password?

"Event x days before/after" and similars
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: "Event x days before/after" and similars
#13234
"Event x days before/after" and similars 4 Years ago  
Today i was reading the iCalendar (proposed?) standard because (possibles) changes in my country calendar. One of them is add the Lent (Cuaresma, quadragesima) days as holiday. Someone in this forum talk about a week holiday in the 42nd week of the year.

Searching in the IETF RFCs i found: RFC 2445 (iCalendar), RFC 5545 (iCalendar) and RFC 5546 (iTIP). I'm sure you know this 3.

The item 3.2.15. Relationship Type, says:
To specify the type of hierarchical relationship associated with the calendar component specified by the property.
...
This property is intended only to provide information on the relationship of calendar components. It is up to the target calendar system to maintain any property implications of this relationship.


The item 3.8.8.2. Non-Standard Properties says:
Property Name: Any property name with a "X-" prefix

I know that there are not 2 equals iCal applications, but i thought that it would be a good thing to add something different in Rainlendar. eg:
RELATED-TO PARENT:{this-is-an-example-of-Easter-date-UID}
X-RAINLENDAR2-DAYSRELATED-TO:-40

or

X-RAINLENDAR2-WEEK-START:42
X-RAINLENDAR2-WEEK-END:43

I know all the effort you do to maintain your app, and i don't know if this is possible, even maybe this only will work in Rainlendar... but the Rainlendar users will be grateful.
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.
 
#13240
Re: "Event x days before/after" and similars 4 Years ago  
I'm not sure if the relative events are supported by the iCalendar standard but at least the weekly recurring events are. And as you mentioned the custom properties could always be used to extend the standard.

However, there are several problems with these kind of features. The part of the code which calculates the days where the events are located is already quite complex (and waiting for a total rewrite) and adding new functionality to it will make it harder to maintain (and most likely introduce really obscure bugs). I also would have to handle the 3rd party calendars (e.g. Google and RTM) somehow since they most likely don't support this kind of features. And especially in the relative event's case implementing an user interface for it wouldn't be a trivial task.

So, even if this probably would be technically interesting feature to implement it most likely would require too much work to be worthwhile.
Rainy
Moderator
Posts: 5956
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop