Alarm duration format helpers.
[OpenSync Time]

Functions for converting alarm durations to and from string formats. More...


Functions

OSYNC_EXPORT char * osync_time_sec2alarmdu (int seconds)
 Functions converts seconds in duration before or after alarm event.
OSYNC_EXPORT int osync_time_alarmdu2sec (const char *alarm)
 Functions converts alarm duration event to seconds needed for reminder of vcal/ical.


Detailed Description

Functions for converting alarm durations to and from string formats.

Function Documentation

OSYNC_EXPORT char* osync_time_sec2alarmdu ( int  seconds  ) 

Functions converts seconds in duration before or after alarm event.

Parameters:
seconds 
Returns:
ical alarm duration string (caller is preponsible for freeing)

Definition at line 631 of file opensync_time.c.

OSYNC_EXPORT int osync_time_alarmdu2sec ( const char *  alarm  ) 

Functions converts alarm duration event to seconds needed for reminder of vcal/ical.

TODO: Test support for ALARM after/before end and after start

Parameters:
alarm 
Returns:
seconds of alarm and duration

Definition at line 692 of file opensync_time.c.


Generated on Fri Feb 13 13:33:29 2009 for OpenSync by  doxygen 1.5.7.1