Package DE_EPAGES::Calendar::API::TLE::CalendarHandler
Functions
BusinessHourWeek
Loops all 7 days of the week and provides information about opening and closing hours of each day.
- Name - localized name of the day, e.g. 'Monday'
- Abbreviation - short version of localized name of the day, e.g. 'Mon'
- WeekDayID - number 0..6
- OpenDuskTillDawn - open 24 hours
- OpenMorning - opening time in the morning
- CloseMorning - closing time in the morning
- OpenAfternoon - opening time in the afternoon
- CloseAfternoon - closing time in the afternoon
Syntax |
#BusinessHourWeek(#Calendar, #IsOddWeek) |
Example |
#LOOP(#BusinessHourWeek(#Calendar.Object, #IsOddWeek)) #Abbreviation: #IF(#OpenDuskTillDawn) Open 24 hours. #ELSE We're open from #OpenMorning[time] to #CloseMorning[time] in the morning anf from #OpenAfternoon[time] to #CloseAfternoon[time] in the afternoon. #ENDIF <br /> #ENDLOOP |
Input |
|