You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 28, 2024. It is now read-only.
Parse WorkTime string in the ContactInfo to a specialized struct.
The operating hours or client service hours of the business. Set as a string that specifies the range of days of the week and work hours with accuracy to the minute. Days of the week are defined by the numbers from 0 to 6, where 0 is Monday and 6 is Sunday. String format:
"day_from;day_to;hour_from;minute_from;hour_to;minute_to"
For example, the string "0;4;10;0;18;0" sets the following schedule:
0;4 — Monday to Friday
10;0 — from 10:00 am
18;0 — to 6:00 pm
The schedule may consist of several strings in this format, for example: "0;4;10;0;18;0;5;6;11;0;16;0". Here, in addition to the previous example, the schedule also includes:
5;6 — Saturday and Sunday
11;0 — from 11:00 am
16;0 — to 4:00 pm
Parse WorkTime string in the ContactInfo to a specialized struct.