@Immutable public final class Time extends Object implements Comparable<Time>
| Constructor and Description |
|---|
Time()
Public ctor (current time).
|
Time(Date date)
Public ctor.
|
Time(long millis)
Public ctor.
|
Time(String date)
Public ctor.
|
public Time()
public Time(long millis)
millis - Millisecondspublic Time(@NotNull(message="date can\'t be NULL") Date date)
date - Datepublic int compareTo(Time time)
compareTo in interface Comparable<Time>public long delta(@NotNull(message="delta time can\'t be NULL") Time time)
time - Time to reachpublic long millis()
public Date date()
public Time round()
Copyright © 2009–2014 Rultor Inc.. All rights reserved.