Exemple #1
0
        public string ShowAUserWeekMeetMessage(string userCode, DateTime dt)
        {
            DateTime      weekBeginDate = TimeExtend.GetWeekBeginDate(dt);
            StringBuilder builder       = new StringBuilder();

            for (int i = 0; i < 7; i++)
            {
                builder.Append(this.GetAuserDayMeetContent(userCode, weekBeginDate.AddDays((double)i)));
            }
            return(builder.ToString());
        }
Exemple #2
0
        public string GetWeekConference(DateTime dt)
        {
            DateTime      weekBeginDate = TimeExtend.GetWeekBeginDate(dt);
            StringBuilder builder       = new StringBuilder();

            for (int i = 0; i < 7; i++)
            {
                builder.Append(this.GetDayMeetContent(weekBeginDate.AddDays((double)i)));
            }
            return(builder.ToString());
        }