public class LogicalTime
extends java.util.Date
| Constructor and Description |
|---|
LogicalTime(int hrs,
int min,
int sec)
Creates a logical time from the given hours, minutes, and seconds.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Appendable |
_appendTo(java.lang.Appendable a,
java.util.Date d) |
static java.lang.StringBuilder |
_appendTo(java.lang.StringBuilder sb,
java.util.Date d) |
static java.lang.String |
_toString(java.util.Date d) |
java.lang.Appendable |
appendTo(java.lang.Appendable a)
Appends the string representation of this logical time to
a. |
java.lang.StringBuilder |
appendTo(java.lang.StringBuilder sb)
Appends the string representation of this logical time to
sb. |
LogicalTime |
clone() |
int |
compareTo(java.util.Date other) |
boolean |
equals(java.lang.Object other) |
int |
getLogicalHours()
Returns the hours of this logical time.
|
int |
getLogicalMinutes()
Returns the minutes of this logical time.
|
int |
getLogicalSeconds()
Returns the seconds of this logical time.
|
int |
hashCode() |
java.lang.String |
toString() |
public LogicalTime(int hrs,
int min,
int sec)
hrs - hours, 0 - 23min - minutes, 0 - 59sec - seconds, 0 - 59@SGWTInternal
public static java.lang.Appendable _appendTo(java.lang.Appendable a,
java.util.Date d)
throws java.io.IOException
java.io.IOException@SGWTInternal
public static java.lang.StringBuilder _appendTo(java.lang.StringBuilder sb,
java.util.Date d)
@SGWTInternal public static java.lang.String _toString(java.util.Date d)
public final int getLogicalHours()
public final int getLogicalMinutes()
public final int getLogicalSeconds()
public LogicalTime clone()
clone in class java.util.Datepublic int compareTo(java.util.Date other)
compareTo in interface java.lang.Comparable<java.util.Date>compareTo in class java.util.Datepublic boolean equals(java.lang.Object other)
equals in class java.util.Datepublic int hashCode()
hashCode in class java.util.Datepublic java.lang.Appendable appendTo(java.lang.Appendable a)
throws java.io.IOException
a.a - where to append the string representation.ajava.io.IOException - if one of the appendTo() operations throws an IOException.public java.lang.StringBuilder appendTo(java.lang.StringBuilder sb)
sb.sb - the StringBuilder to append to.sb.public java.lang.String toString()
toString in class java.util.Date