This commit is contained in:
Timo Westkämper 2010-02-23 14:43:20 +00:00
parent a461918e9f
commit 18b8e0ddfa
2 changed files with 2 additions and 17 deletions

View File

@ -5,7 +5,7 @@
<parent>
<groupId>com.mysema.querydsl</groupId>
<artifactId>querydsl-root</artifactId>
<version>1.2.4</version>
<version>1.2.4-SNAPSHOT</version>
</parent>
<groupId>com.mysema.querydsl</groupId>

View File

@ -61,9 +61,7 @@ public abstract class EDateTime<D extends Comparable> extends EDate<D> {
return ODateTime.create(cl, Ops.DateTimeOps.CURRENT_TIMESTAMP);
}
private volatile ENumber<Integer> dayOfMonth, dayOfWeek, dayOfYear;
private volatile ENumber<Integer> year, month, week, hours, minutes, seconds, milliseconds, yearMonth;
private volatile ENumber<Integer> hours, minutes, seconds, milliseconds;
public EDateTime(Class<? extends D> type) {
super(type);
@ -117,18 +115,5 @@ public abstract class EDateTime<D extends Comparable> extends EDate<D> {
}
return seconds;
}
/**
* Get a week expression
* <p>NOT supported in JDOQL and not in Derby</p>
*
* @return
*/
public ENumber<Integer> week() {
if (week == null){
week = ONumber.create(Integer.class, Ops.DateTimeOps.WEEK, this);
}
return week;
}
}