org.nuiton.util
Class PeriodDates
java.lang.Object
org.nuiton.util.PeriodDates
public class PeriodDates
- extends Object
PeriodDates.java
Created on 2009-08-13
- Version:
- $Revision: 98 $
Last update: $Date: 2009-12-04 01:28:16 +0100 (Fri, 04 Dec 2009) $
by : $Author: fdesbois $
- Author:
- fdesbois
PeriodDates
public PeriodDates()
PeriodDates
public PeriodDates(Date fromDate,
Date thruDate)
PeriodDates
public PeriodDates(Calendar fromCalendar,
Calendar thruCalendar)
createMonthsPeriodFromToday
public static PeriodDates createMonthsPeriodFromToday(int monthAfter)
getPattern
public String getPattern()
setPattern
public void setPattern(String pattern)
setFromDate
public void setFromDate(Date fromDate)
getFromDate
public Date getFromDate()
getFromMonth
public int getFromMonth()
setThruDate
public void setThruDate(Date thruDate)
getThruDate
public Date getThruDate()
getMonths
public List<Date> getMonths()
getFormatedMonths
public List<String> getFormatedMonths()
beforeEnd
public boolean beforeEnd(Calendar calendar)
afterEnd
public boolean afterEnd(Calendar calendar)
afterBegin
public boolean afterBegin(Calendar calendar)
between
public boolean between(Calendar calendar)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2004-2009 CodeLutin. All Rights Reserved.