net.sourceforge.plantuml.project2
Class Day

java.lang.Object
  extended by net.sourceforge.plantuml.project2.Day
All Implemented Interfaces:
Comparable<TimeElement>, TimeElement

public class Day
extends Object
implements TimeElement


Constructor Summary
Day(String desc)
           
 
Method Summary
 int compareTo(TimeElement other2)
           
 boolean equals(Object obj)
           
 long getEndUTC()
           
 Month getMonth()
           
 int getNumDay()
           
 long getStartUTC()
           
 long getTypicalDuration()
           
 WeekDay getWeekDay()
           
 int getYear()
           
 int hashCode()
           
static boolean isValidDesc(String desc)
           
 Day next()
           
 Day previous()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Day

public Day(String desc)
Method Detail

isValidDesc

public static boolean isValidDesc(String desc)

next

public Day next()
Specified by:
next in interface TimeElement

previous

public Day previous()
Specified by:
previous in interface TimeElement

toString

public String toString()
Overrides:
toString in class Object

getNumDay

public final int getNumDay()

getMonth

public final Month getMonth()

getYear

public final int getYear()

compareTo

public int compareTo(TimeElement other2)
Specified by:
compareTo in interface Comparable<TimeElement>

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getWeekDay

public final WeekDay getWeekDay()

getTypicalDuration

public long getTypicalDuration()
Specified by:
getTypicalDuration in interface TimeElement

getStartUTC

public long getStartUTC()
Specified by:
getStartUTC in interface TimeElement

getEndUTC

public long getEndUTC()
Specified by:
getEndUTC in interface TimeElement


Copyright © 2013. All Rights Reserved.