com.h3c.util

## Interface TimeUtils.Now

- Enclosing class:
    TimeUtils

      public static interface TimeUtils.Now

  Defines the notion of "now" as expressed by the implementation of `currentTimeMillis()`.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `currentTimeMillis()` Returns the number of milliseconds since epoch.

- - ### Method Detail

    - #### currentTimeMillis

          long currentTimeMillis()

      Returns the number of milliseconds since epoch.

      Note that the `default` (production) instance has an implementation that returns `System.currentTimeMillis()`;

      Alternate implementations may provide more control over the values returned, to allow for deterministic unit tests.

      Returns:
        epoch time stamp

Copyright © 2014. All Rights Reserved.