5 exception examples – Echelon i.LON SmartServer 2.0 User Manual
Page 161
i.LON SmartServer 2.0 Programmer’s Reference
10-11
Identifier Description
active.
MN_EVERY_11_MONTH
Every eleventh month during the interval the Calendar is
active.
MN_NUL
Value not available. If this is chosen, the Calendar will use
every month.
10.3.2.5 Exception Examples
The following section presents a series of examples that demonstrate how to create exceptions that use
wild cards and recursions.
Consider a case where you need to create an exception to apply to a specific range of dates, year after
year. You could set the
to DW_WILDCARD. This applies the exception to all years, not just the ones specified by the
and months specified by the start and stop dates. As a result, the exception shown below applies to
April 5th through 7th, every year.
Consider a case where you need to create an exception to apply to the first ten days of every month,
year after year. You could do so by setting the
to DW_WILDCARD, so the years and months specified in the start and stop dates are ignored. The
result, the exception shown below applies to April 1
st
through April 10
th
, every year.
Now consider a case where you need to create an exception to apply to every weekday of every month,
year after year. You could do so by setting the
DM_EVERY_WEEKDAY, and the