springroll.TimeUtils Class

Module: Core

A collection of Time related utility functions

Methods

now

() Int
static

Defined in now:30

This method gets timestamp in micromilliseconds for doing performance intense operations. Fallback support is to Date.now(). We aren't overridding performance.now() incase dependencies on this actually demand the optimization and accuracy that performance actually provides.

Returns:

Int:

The number of micromilliseconds of the current timestamp