com.sun.enterprise.universal
Class NanoDuration

java.lang.Object
  extended by com.sun.enterprise.universal.NanoDuration

public final class NanoDuration
extends java.lang.Object

Convert a nanosec duration into something readable

Author:
bnevins Thread Safe. Immutable

Field Summary
static double NSEC_PER_MICROSECOND
           
static double NSEC_PER_MILLISECOND
           
static double NSEC_PER_MINUTE
           
static double NSEC_PER_SECOND
           
 
Constructor Summary
NanoDuration(long nsec)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NSEC_PER_MICROSECOND

public static final double NSEC_PER_MICROSECOND
See Also:
Constant Field Values

NSEC_PER_MILLISECOND

public static final double NSEC_PER_MILLISECOND
See Also:
Constant Field Values

NSEC_PER_SECOND

public static final double NSEC_PER_SECOND
See Also:
Constant Field Values

NSEC_PER_MINUTE

public static final double NSEC_PER_MINUTE
See Also:
Constant Field Values
Constructor Detail

NanoDuration

public NanoDuration(long nsec)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012 GlassFish Community. All Rights Reserved.