public class TimeFactory
extends java.lang.Object
Constructor and Description |
---|
TimeFactory() |
Modifier and Type | Method and Description |
---|---|
static Time |
getTime()
Deprecated.
Try to use other time setting methods for testing.
|
static void |
setTime(Time time)
Deprecated.
Try to use other time setting methods for testing.
|
public static void setTime(Time time)
getTime()
rather than creating an instance upon first
invocation.public static Time getTime()