Exemplo n.º 1
0
        public DateInstance Construct(double time)
        {
            var instance = new DateInstance(Engine)
            {
                Prototype      = PrototypeObject,
                PrimitiveValue = TimeClip(time),
                Extensible     = true
            };

            return(instance);
        }
Exemplo n.º 2
0
        public DateInstance Construct(DateTime value)
        {
            var instance = new DateInstance(Engine)
            {
                Prototype      = PrototypeObject,
                PrimitiveValue = FromDateTime(value),
                Extensible     = true
            };

            return(instance);
        }
Exemplo n.º 3
0
        public DateInstance Construct(double time)
        {
            var instance = new DateInstance(Engine)
                {
                    Prototype = PrototypeObject,
                    PrimitiveValue = TimeClip(time),
                    Extensible = true
                };

            return instance;
        }
Exemplo n.º 4
0
        public DateInstance Construct(DateTime value)
        {
            var instance = new DateInstance(Engine)
                {
                    Prototype = PrototypeObject,
                    PrimitiveValue = FromDateTime(value),
                    Extensible = true
                };

            return instance;
        }