org.rcfaces.core.lang
Class Time

java.lang.Object
  extended by org.rcfaces.core.lang.DefaultAdaptable
      extended by org.rcfaces.core.lang.Time
All Implemented Interfaces:
Serializable, Comparable, IAdaptable

public class Time
extends DefaultAdaptable
implements Serializable, Comparable

Version:
$Revision: 1.2 $ $Date: 2007/05/24 12:26:17 $
Author:
Olivier Oeuillot (latest modification by $Author: oeuillot $)
See Also:
Serialized Form

Constructor Summary
Time()
           
Time(Date d, Calendar calendar)
           
Time(Date d, Locale locale)
           
Time(Date d, TimeZone timeZone)
           
Time(int hours)
           
Time(int hours, int minutes)
           
Time(int hours, int minutes, int seconds)
           
Time(int hours, int minutes, int seconds, int millis)
           
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object obj)
           
 Date getDate(Calendar calendar)
           
 Date getDate(Locale locale)
           
 Date getDate(TimeZone timeZone)
           
 int getHours()
           
 int getMillis()
           
 int getMinutes()
           
 int getSeconds()
           
 long getTime()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.rcfaces.core.lang.DefaultAdaptable
getAdapter
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Time

public Time()

Time

public Time(int hours)

Time

public Time(int hours,
            int minutes)

Time

public Time(int hours,
            int minutes,
            int seconds)

Time

public Time(int hours,
            int minutes,
            int seconds,
            int millis)

Time

public Time(Date d,
            TimeZone timeZone)

Time

public Time(Date d,
            Locale locale)

Time

public Time(Date d,
            Calendar calendar)
Method Detail

getHours

public int getHours()

getMinutes

public int getMinutes()

getSeconds

public int getSeconds()

getMillis

public int getMillis()

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTime

public long getTime()

getDate

public Date getDate(TimeZone timeZone)

getDate

public Date getDate(Locale locale)

getDate

public Date getDate(Calendar calendar)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2011 Vedana. All Rights Reserved.