java.lang.Object
omix.lang.Date
- All Implemented Interfaces:
Serializable
public final class Date extends Object implements Serializable
This class represents date in the Omix network diagrams.
- Author:
- Dr. Peter Droste, Omix Visualization
- See Also:
- Serialized Form
-
Constructor Details
-
Method Details
-
getDay
public int getDay()- Returns:
- the day of this date
-
getMonth
public int getMonth()- Returns:
- the month of this date
-
getYear
public int getYear()- Returns:
- the year of this date
-
getValue
- Returns:
- the absolute date value
-
toString
- Overrides:
toString
in classObject
- Returns:
- the date as YY-MM-DD
- See Also:
Object.toString()
-
toString
- Parameters:
format
- a format which has to contain YYYY for year, MM for month and DD for day- Returns:
- a string representation of the date according the submitted format
-