예제 #1
0
        public EasternDateTime AddSeconds(double value)
        {
            var dt = DateTime.Parse(Value);

            dt = dt.AddSeconds(value);
            return(EasternDateTime.Convert(dt.ToUniversalTime()));
        }
예제 #2
0
        public EasternDateTime AddYears(int value)
        {
            var dt = DateTime.Parse(Value);

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

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