hubermedia documentation 2015 html
ec:timeintervalsNew
Copy Code
<item>
    [...]
    <ec:timeIntervalsNew>
        [...]
    </ec:timeIntervalsNew>
    [...]
</item>

Dates/Openinghours.

These TimeIntervals are rules based on daily, weekly, monthly, yearly or single frequencies. The rules can be mixed. Events shall not overlap. DateTimes have to be in IS= 8601 Format: yyyy-MM-DDThh:mm:ss+hh:mm + diff to UTC. StartTime is inclusive, EndTime exclusive. TimeZone has to be IANA Time Zone Database ID and is obligatory (for germany, use Europe/Berlin).

There are different types to transfer the information.

All parameters:

Copy Code
<item>
    [...]
    <ec:timeIntervalsNew>
            <ec:timeInterval ...>
                <!-- Attribute:
                start="2015-01-01T08:00:00+01:00" - startdate first date, obligatory
                end="2015-01-01T17:00:00+01:00" - enddate first date, obligatory
                tz="Europe/Berlin" - timezone, obligatory
                freq="single" - ruletype, obligaotry (single,daily,weekly,monthly,yearly)
                
                repeatUntil="2020-01-01T00:00:00+01:00" - enddate when repeated interval
                repeatCount="100" - max count repetition, use repeatUntil OR repeatCount, not both at once
                interval="1" - repetition-interval, default 1
                dayOrdinal="2" weekday="0" - only with freq=monthly/yearly: every 2. sunday of month
                dayOfMonth="5" - only with freq=monthly/yearly: every 5. day of month
                month="5" - only with freq=yearly: which month
                -->
                
                <ec:weekdays> <!-- only with freq=weekly -->
                    <ec:weekday>0</ec:weekday> <!-- 0=sunday - 6=saturday-->
                    ...
                </ec:weekdays>
                
            </ec:timeInterval>
            [...]
    </ec:timeIntervalsNew>
</item>

 

 


© hubermedia 2018 Privacy Statement Imprint