|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.sun.jaw.snmp.manager.Timestamp
This class is used to represent a time stamp.
| Constructor Summary | |
Timestamp()
The default constructor. |
|
Timestamp(long uptime)
Creates a TimeStamp object using the user parameter. |
|
Timestamp(long uptime,
long when)
Creates a TimeStamp object using the user parameters. |
|
| Method Summary | |
java.util.Date |
getDate()
Gets the current date. |
long |
getDateTime()
Gets the current date. |
long |
getSysUpTime()
Gets the time (in hundreds of a second) since the network management portion of the system was last re-initialized. |
SnmpTimeticks |
getTimeTicks()
Gets the SnmpTimeticks object corresponding to the
TimeStamp object. |
java.lang.String |
toString()
Returns a String representation of the TimeStamp object. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public Timestamp()
public Timestamp(long uptime,
long when)
TimeStamp object using the user parameters.uptime - The time (in hundreds of a second) since the
network management portion of the system was last re-initialized.when - The current time.public Timestamp(long uptime)
TimeStamp object using the user parameter.uptime - The time (in hundreds of a second) since the
network management portion of the system was last re-initialized.| Method Detail |
public final SnmpTimeticks getTimeTicks()
SnmpTimeticks object corresponding to the
TimeStamp object.SnmpTimeticks object.public final long getSysUpTime()
sysUpTime.public final java.util.Date getDate()
Date object representing the current date.public final long getDateTime()
long representing the current date.public final java.lang.String toString()
String representation of the TimeStamp object.String representation of the TimeStamp object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||