示例#1
0
        public CentralDateTime AddSeconds(double value)
        {
            var dt = DateTime.Parse(Value);

            dt = dt.AddSeconds(value);
            return(CentralDateTime.Convert(dt.ToUniversalTime()));
        }
示例#2
0
        public CentralDateTime AddYears(int value)
        {
            var dt = DateTime.Parse(Value);

            dt = dt.AddYears(value);
            return(CentralDateTime.Convert(dt.ToUniversalTime()));
        }
示例#3
0
        public CentralDateTime AddMonths(int months)
        {
            var dt = DateTime.Parse(Value);

            dt = dt.AddMonths(months);
            return(CentralDateTime.Convert(dt.ToUniversalTime()));
        }