Exemple #1
0
        public static DateTime ObjToDateTime(Obj time)
        {
            long epochNanoSecs = time.GetInnerLong();

            return(epoch.AddTicks(epochNanoSecs / 100));
        }
Exemple #2
0
        public static DateTime ObjToDate(Obj date)
        {
            long epochDay = date.GetInnerLong();

            return(epoch.AddDays(epochDay));
        }