public static bool 指定日期的班段起止(this WeixinWorkPlanDetail item, DateTime target, out DateTime begin, out DateTime end)
        {
            begin = DateTime.MinValue;
            end   = DateTime.MinValue;
            var now = DateTime.Now;

            if (!item.IsEveryDatetimeNotNull())
            {
                return(false);
            }

            begin = item.Beginning.Value.ConvertToTargetDate(target);
            end   = item.Ending.Value.ConvertToTargetDate(target);

            return(true);
        }
        public static bool 指定日期的打卡开始到结束区间(this WeixinWorkPlanDetail item, DateTime target, out DateTime begin, out DateTime end)
        {
            begin = DateTime.MinValue;
            end   = DateTime.MinValue;
            var now = DateTime.Now;

            if (!item.IsEveryDatetimeNotNull())
            {
                return(false);
            }

            begin = item.Beginning.Value.ConvertToTargetDate(target).AddMinutes(-item.MoveUp.Value);
            end   = item.Ending.Value.ConvertToTargetDate(target).AddMinutes(item.PutOff.Value);

            return(true);
        }
        public static bool 指定日期的签退起止(this WeixinWorkPlanDetail item, DateTime target, out DateTime?begin, out DateTime?end)
        {
            begin = null;
            end   = null;
            var now = DateTime.Now;

            if (!item.IsEveryDatetimeNotNull())
            {
                return(false);
            }

            begin = item.Beginning.Value.ConvertToTargetDate(target);
            end   = item.Ending.Value.ConvertToTargetDate(target).AddMinutes(item.PutOff.Value);

            return(true);
        }