arta.synergy.web.common.client.data.calendar
Class TimePhase

java.lang.Object
  extended by arta.synergy.web.common.client.data.calendar.TimePhase
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable
Direct Known Subclasses:
CustomTimePhase

public class TimePhase
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable

Created by IntelliJ IDEA. User: topa Date: 28.06.2010 Time: 10:14:56 To change this template use File | Settings | File Templates.

See Also:
Serialized Form

Field Summary
 Time finishTime
           
 Time startTime
           
 
Constructor Summary
TimePhase()
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 TimePhase getIntersection(TimePhase phase)
           
 long getLengthInMills()
           
 boolean isIntersects(TimePhase phase)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startTime

public Time startTime

finishTime

public Time finishTime
Constructor Detail

TimePhase

public TimePhase()
Method Detail

getLengthInMills

public long getLengthInMills()

compareTo

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

isIntersects

public boolean isIntersects(TimePhase phase)

getIntersection

public TimePhase getIntersection(TimePhase phase)


Copyright © 2000 Dummy Corp. All Rights Reserved.