public DateInstance Construct(double time) { var instance = new DateInstance(Engine) { Prototype = PrototypeObject, PrimitiveValue = TimeClip(time), Extensible = true }; return(instance); }
public DateInstance Construct(DateTime value) { var instance = new DateInstance(Engine) { Prototype = PrototypeObject, PrimitiveValue = FromDateTime(value), Extensible = true }; return(instance); }