All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class syd.logicalclock.SystemClock

java.lang.Object
   |
   +----syd.logicalclock.SystemClock

public class SystemClock
extends Object
Represents the local system clock


Constructor Index

 o SystemClock()

Method Index

 o read()
ACCESSOR: it is a static method that returns the current time, in millisecs.

Constructors

 o SystemClock
 public SystemClock()

Methods

 o read
 public static long read()
ACCESSOR: it is a static method that returns the current time, in millisecs. It can be implemented as a native method, or using the System.currentTimeMillis method.

Returns:
s the current time in millisecs as a long

All Packages  Class Hierarchy  This Package  Previous  Next  Index