/// <summary>
        ///     重建起讫时间,起始时间将变为所在天的00:00:00,结束时间将变为所在天的23:59:59.999
        /// </summary>
        /// <param name="beginDate">The begin date.</param>
        /// <param name="endDate">The end date.</param>
        public static void RebuildDateScope(ref DateTime?beginDate, ref DateTime?endDate)
        {
            if (Checker.AllAreNotEmpty(beginDate, endDate))
            {
                DateTime tempBeginDate = beginDate.Value;
                DateTime tempEndDate   = endDate.Value;

                RebuildDateScope(ref tempBeginDate, ref tempEndDate);

                beginDate = tempBeginDate;
                endDate   = tempEndDate;
            }
        }