private CreateDate ( |
||
engine | ||
ms | double | |
return | HandleProxy* |
/// <summary> /// Calls the native V8 proxy library to create a date for use within the V8 JavaScript environment. /// </summary> /// <param name="ms">The number of milliseconds since epoch (Jan 1, 1970). This is the same value as 'SomeDate.getTime()' in JavaScript.</param> public InternalHandle CreateValue(TimeSpan ms) { return(V8NetProxy.CreateDate(_NativeV8EngineProxy, ms.TotalMilliseconds)); }