# datetimeStd::DateTimeServiceStd

    sys::Obj
      sys::Virtual
        sys::Component
          sys::Service
            datetime::DateTimeService
              datetimeStd::DateTimeServiceStd

`public class DateTimeServiceStd`

doGetUtcOffset

  `public static native int doGetUtcOffset()`

doNow

  `public static native long doNow()`

doSetClock

  `public static native void doSetClock(long nanos)`

getUtcOffset

  `public virtual override int getUtcOffset()`

  Return current UTC offset as reported by platform

now

  `public virtual override long now()`

  Return the current UTC date/time on the system in nanoseconds, or

       DateTime.invalid if not supported, i.e. platform does not have clock
       capability

setClock

  `public virtual override void setClock(long nanos)`

  Set the current UTC date/time in nanoseconds. May not be supported on

       all platforms