public static NSJSDateTime operator -(NSJSDateTime x, long y) { if (x == null) { return null; } long ticks = unchecked((long)x) - y; if (ticks < 0) { ticks = 0; } return NSJSDateTime.New(x.VirtualMachine, ticks); }
public static NSJSDateTime New(NSJSVirtualMachine machine, long ticks) { return NSJSDateTime.New(machine, NSJSDateTime.LocalDateToDateTime(ticks)); }
public void SetReturnValue(DateTime value) { this.SetReturnValue((NSJSValue)NSJSDateTime.New(this.VirtualMachine, value)); }
public void Add(DateTime value) { this.Add((NSJSValue)NSJSDateTime.New(this.VirtualMachine, value)); }