net.sourceforge.blogentis.utils
Class DateSpecification
java.lang.Object
net.sourceforge.blogentis.utils.DateSpecification
- public class DateSpecification
- extends java.lang.Object
- Author:
- abas
Field Summary |
protected int |
day
|
protected java.util.Calendar |
endCal
|
protected int |
month
|
protected java.util.Calendar |
startCal
|
protected int |
year
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
year
protected int year
month
protected int month
day
protected int day
startCal
protected java.util.Calendar startCal
endCal
protected java.util.Calendar endCal
DateSpecification
public DateSpecification(java.util.Calendar c)
DateSpecification
public DateSpecification(int year)
DateSpecification
public DateSpecification(int year,
int month)
DateSpecification
public DateSpecification(int year,
int month,
int day)
DateSpecification
public DateSpecification(java.util.Date date)
getDay
public int getDay()
getMonth
public int getMonth()
getYear
public int getYear()
hasMonth
public boolean hasMonth()
hasDay
public boolean hasDay()
getStart
public java.util.Calendar getStart()
getEnd
public java.util.Calendar getEnd()
getNext
public DateSpecification getNext()
getPrev
public DateSpecification getPrev()
setMonth
public void setMonth(int month)
setDay
public void setDay(int day)
addToCriteria
public void addToCriteria(org.apache.torque.util.Criteria c,
java.lang.String tableName)
Copyright © 2003-2004 SourceForge.net. All Rights Reserved.