mtime 1.3.0
|
Definition of the basic event type and its methods. More...
Data Types | |
interface | newevent |
Functions/Subroutines | |
recursive subroutine, public | deallocateevent (my_event) |
Destructor of Event. | |
recursive subroutine, public | eventtostring (my_event, string, errno) |
Get Event as a string. | |
recursive logical(c_bool) function, public | iscurrenteventactive (my_event, my_datetime, plus_slack, minus_slack) |
Check if this event is active by comparing event's trigger time with current_dt. | |
recursive logical(c_bool) function, public | iseventnextinnextday (my_event) |
Checks, if next event is on a new day. | |
recursive logical(c_bool) function, public | iseventnextinnextmonth (my_event) |
Checks, if next event is in a new month. | |
recursive logical(c_bool) function, public | iseventnextinnextyear (my_event) |
Checks, if next event is in a new year. | |
recursive subroutine, public | gettriggernexteventatdatetime (my_event, my_currentdatetime, my_datetime, errno) |
Get the Datetime when 'this' event will be triggered next. | |
recursive subroutine, public | gettriggeredpreviouseventatdatetime (my_event, my_datetime, errno) |
Get the Datetime when 'this' event will be triggered last. | |
recursive integer(c_int64_t) function, public | geteventid (my_event) |
get the event id | |
recursive subroutine, public | geteventname (my_event, string, errno) |
get the event name | |
recursive type(datetime) function, pointer, public | geteventreferencedatetime (my_event) |
get the event reference date | |
recursive type(datetime) function, pointer, public | geteventfirstdatetime (my_event) |
get the event first date | |
recursive type(datetime) function, pointer, public | geteventlastdatetime (my_event) |
get the event last date | |
recursive type(timedelta) function, pointer, public | geteventinterval (my_event) |
get the event interval | |
recursive logical(c_bool) function, public | getnexteventisfirst (my_event) |
Check if event is first. | |
recursive logical(c_bool) function, public | geteventisfirstinday (my_event) |
Check if event is first in day. | |
recursive logical(c_bool) function, public | geteventisfirstinmonth (my_event) |
Check if event is first in month. | |
recursive logical(c_bool) function, public | geteventisfirstinyear (my_event) |
Check if event is first in year. | |
recursive logical(c_bool) function, public | geteventislastinday (my_event) |
Check if event is last in day. | |
recursive logical(c_bool) function, public | geteventislastinmonth (my_event) |
Check if event is last in month. | |
recursive logical(c_bool) function, public | geteventislastinyear (my_event) |
Check if event is last in year. | |
Definition of the basic event type and its methods.