net.sourceforge.plantuml.project
Class Instant

java.lang.Object
  extended by net.sourceforge.plantuml.project.Instant
All Implemented Interfaces:
Comparable<Numeric>, Numeric

public class Instant
extends Object
implements Numeric


Constructor Summary
Instant(Day d)
           
 
Method Summary
 Numeric add(Numeric other)
           
 int compareTo(Numeric other)
           
 boolean equals(Object obj)
           
 Day getDay()
           
 net.sourceforge.plantuml.project.NumericType getNumericType()
           
 int hashCode()
           
 Instant next(net.sourceforge.plantuml.project.DayClose dayClose)
           
 Instant prev(net.sourceforge.plantuml.project.DayClose dayClose)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Instant

public Instant(Day d)
Method Detail

add

public Numeric add(Numeric other)
Specified by:
add in interface Numeric

getNumericType

public net.sourceforge.plantuml.project.NumericType getNumericType()
Specified by:
getNumericType in interface Numeric

getDay

public Day getDay()

next

public Instant next(net.sourceforge.plantuml.project.DayClose dayClose)

prev

public Instant prev(net.sourceforge.plantuml.project.DayClose dayClose)

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(Numeric other)
Specified by:
compareTo in interface Comparable<Numeric>

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2014. All Rights Reserved.