示例#1
0
        public void SetStartAndEnd()
        {
            if (End.Year < 2018)
            {
                End = Start.AddTicks(Period);
            }

            if (Start >= End)
            {
                Start = End.AddDays(1);
                End   = End.AddTicks(Period);
            }
        }