Ejemplo n.º 1
0
        public JsImplDateTime(int year, int month, int day, int hour, int minute, int second, DateTimeKind kind)
        {
            JsDateEx x;

            if (kind == DateTimeKind.Utc)
            {
                x = new JsDateEx(JsDate.UTC(year, month - 1, day, hour, minute, second));
            }
            else
            {
                x = new JsDateEx(year, month - 1, day, hour, minute, second);
            }
            x._Kind = kind;
            JsContext.@return(x);
        }