haorenhui
2023-10-30 6d6cc10d9e8e242661da7fd655dec155a09d676c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Quintiq file version 2.0
#parent: #root
MethodOverride InitializeSettings
{
  TextBody:
  [*
    // By default set the Base and the CalendarTime to the start of today.
    // From that moment on, the CalendarTime will be updated based on the Base and the UpdateInterval.
    // Keep the other settings at the default values, i.e. Window = 70 day, History = 10 days, UpdateInterval = 1 day 00:00.
    timezone     := this.GetTimeZone();
    startOfToday := Date::Today( timezone ).DateTime( timezone );
    
    this.Base(         startOfToday );
    this.CalendarTime( startOfToday );
  *]
}