コード例 #1
0
        public static ContactDate ToContactDate(this NGDate date)
        {
            var winDate = new ContactDate()
            {
                Kind        = (ContactDateKind)date.Kind,
                Month       = date.Month,
                Day         = date.Day,
                Year        = date.Year,
                Description = date.Description
            };

            return(winDate);
        }
コード例 #2
0
        public static NGDate ToNGDate(this ContactDate date)
        {
            var ngDate = new NGDate()
            {
                Kind        = (NGDateKind)date.Kind,
                Month       = date.Month,
                Day         = date.Day,
                Year        = date.Year,
                Description = date.Description
            };

            return(ngDate);
        }