This is a migrated thread and some comments may be shown as answers.

DayStartTime <-> DayEndTime

0 Answers 83 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Bernhard
Top achievements
Rank 1
Bernhard asked on 20 Apr 2020, 11:00 AM

Hello everyone,

we need for a project the possibility to define the TimelineViewDefinition DayStartTime at 6 o'clock DayEndTime also at 6 o'clock. If we set start to 6 and end to 22, the time period from 22 to 6 o'clock is missing. We work from 10 pm to 6 am on night shift and need the possibility to enter appointments. 
With the following settings:

            var timelineView = new TimelineViewDefinition()
            {
                ApplyStartEndTimeToEachDay = true,
                MinorTickLength = new FixedTickProvider(new DateTimeInterval(0, 8, 0, 0, 0)),
                MajorTickLength = new FixedTickProvider(new DateTimeInterval(0, 0, 2, 0, 0)),
                GroupTickLength = new FixedTickProvider(new DateTimeInterval(2, 0, 0)),
                DayStartTime = new TimeSpan(6, 0, 0),
                DayEndTime = new TimeSpan(6, 0, 0)
                
            };

The default time is used except for the first day.
Can anyone help me with this?

Thanks!

No answers yet. Maybe you can help?

Tags
ScheduleView
Asked by
Bernhard
Top achievements
Rank 1
Share this question
or