public class TimeStep extends Object implements Cloneable, Serializable, Comparable<TimeStep>
| Modifier and Type | Field and Description |
|---|---|
protected int |
step |
| Modifier and Type | Method and Description |
|---|---|
boolean |
after(TimeStep t)
compare 2 dates.
|
boolean |
afterOrEquals(TimeStep d) |
boolean |
before(TimeStep t)
compare 2 dates.
|
boolean |
beforeOrEquals(TimeStep t) |
int |
compareTo(TimeStep t) |
boolean |
equals(Object o) |
int |
getDate()
Deprecated.
since 4.0.0.0, use
getStep() instead |
Month |
getMonth() |
Month[] |
getMonthBetweenDate(TimeStep timeStep2) |
int |
getStep() |
int |
getYear() |
int |
hashCode() |
TimeStep |
next()
Method next retourne une nouvelle date qui est la date suivante de la
date courante. la date courante n'est pas modifier.
|
TimeStep |
nextYear()
Method next retourne une nouvelle date qui est le meme mois de l'annee
suivante de la date courante. la date courante n'est pas modifier.
|
TimeStep |
previous()
Method preview retourne une nouvelle date qui est la date precedente de
la date courante la date courante n'est pas modifier.
|
TimeStep |
previousYear()
Method preview retourne une nouvelle date qui est le meme mois de l'annee
precedente de la date courante la date courante n'est pas modifier.
|
String |
toString() |
public int compareTo(TimeStep t)
compareTo in interface Comparable<TimeStep>public int getYear()
public Month getMonth()
@Deprecated public int getDate()
getStep() insteadpublic int getStep()
public TimeStep next()
public TimeStep previous()
public TimeStep nextYear()
public TimeStep previousYear()
public boolean before(TimeStep t)
public boolean beforeOrEquals(TimeStep t)
public boolean after(TimeStep t)
public boolean afterOrEquals(TimeStep d)
public Month[] getMonthBetweenDate(TimeStep timeStep2)
timeStep2 - Copyright © 1999–2014 CodeLutin. All rights reserved.