Package | Description |
---|---|
com.hp.util |
Generic utility classes.
|
com.hp.util.event |
Generic service for asynchronous event dispatch.
|
com.hp.util.test |
Production code hooks to support unit testing from external packages.
|
Modifier and Type | Method and Description |
---|---|
static TimeUtils |
TimeUtils.getInstance()
Returns the default instance.
|
static TimeUtils |
TimeUtils.getInstance(TimeUtils.Now altNow)
Returns a specialized instance that has an alternate implementation
of
TimeUtils.Now . |
Modifier and Type | Method and Description |
---|---|
protected TimeUtils |
AbstractTypedEvent.time()
Returns the
TimeUtils instance used to time stamp the event. |
Modifier and Type | Method and Description |
---|---|
TimeUtils |
FakeTimeUtils.timeUtils()
Returns the patched time-utils instance to attach to the class
under test.
|
Copyright © 2015. All Rights Reserved.