a confused method--forXXXTimeOfDayXXX
2010-09-28 14:36
381 查看
Hi
All,
If you want to use the
following operators in a filter:
IFilterComparisonOperators.TIME_OF_DAY_EQUAL_TO
:
IFilterComparisonOperators.TIME_OF_DAY_GREATER_THAN
:
IFilterComparisonOperators.TIME_OF_DAY_GREATER_THAN_EQUAL_TO
:
IFilterComparisonOperators.TIME_OF_DAY_LESS_THAN
:
IFilterComparisonOperators.TIME_OF_DAY_LESS_THAN_EQUAL_TO
:
IFilterComparisonOperators.TIME_OF_DAY_NOT_EQUAL_TO
:
Please be careful, it
just compares the time(hour * 60 * 60 + mins * 60 + secs),not
day.
E.g.
SiteFilter filter = new SiteFilter(getServer());
Time = 2010-5-10 14:00:00(FTPC time)
filter.forCreationTimeOfDayLessThan(time);
It retrievals all records with creation time
[b]less than 10
am
[/b]
. E.g.
records with time 2010-5-9 13:00:00, 2010-5-11
13:00:00
Some related methods:
ü
forCreationTimeOfDayLessThan;
ü
forCreationTimeOfDayGreaterThanOrEqualTo
ü
forUdaTimeOfDayGreaterThanOrEqualTo;
ü
forUdaTimeOfDayLessThan;
You can also find this
in our inner web page:
http://119.119.118.28/dev/tiki-index.php?page=a+confused+method--forXXXTimeOfDayXXX
Regards,
Rex
Wu
All,
If you want to use the
following operators in a filter:
IFilterComparisonOperators.TIME_OF_DAY_EQUAL_TO
:
IFilterComparisonOperators.TIME_OF_DAY_GREATER_THAN
:
IFilterComparisonOperators.TIME_OF_DAY_GREATER_THAN_EQUAL_TO
:
IFilterComparisonOperators.TIME_OF_DAY_LESS_THAN
:
IFilterComparisonOperators.TIME_OF_DAY_LESS_THAN_EQUAL_TO
:
IFilterComparisonOperators.TIME_OF_DAY_NOT_EQUAL_TO
:
Please be careful, it
just compares the time(hour * 60 * 60 + mins * 60 + secs),not
day.
E.g.
SiteFilter filter = new SiteFilter(getServer());
Time = 2010-5-10 14:00:00(FTPC time)
filter.forCreationTimeOfDayLessThan(time);
It retrievals all records with creation time
[b]less than 10
am
[/b]
. E.g.
records with time 2010-5-9 13:00:00, 2010-5-11
13:00:00
Some related methods:
ü
forCreationTimeOfDayLessThan;
ü
forCreationTimeOfDayGreaterThanOrEqualTo
ü
forUdaTimeOfDayGreaterThanOrEqualTo;
ü
forUdaTimeOfDayLessThan;
You can also find this
in our inner web page:
http://119.119.118.28/dev/tiki-index.php?page=a+confused+method--forXXXTimeOfDayXXX
Regards,
Rex
Wu
相关文章推荐
- System and method for controlling switching between VMM and VM using enabling value of VMM timer indicator and VMM timer value having a specified time
- java Error:"The method xxx is undefind for the type of xxx"
- 形如Exception thrown by getter for property XXX of bean XXX 或 No getter method for property XXX of bean XX
- [IMX6DL]do_gettimeofday()的精度分析
- The importance of Scheudling for Time Management
- The method of importing new packages quickly for Python program
- linux的查询时间实现秒定时+gettimeofday()函数的用法
- clock()、time()、clock_gettime()和gettimeofday()函数的用法和区别
- Linux时间操作(time、gettimeofday)
- 使用Spring Cloud微服务框架进行多个微服务整合时出现No converter found for return value of type:xxx异常信息
- 浅谈时间函数gettimeofday的成本
- gettimeofday() -- 获取当前时间
- Eclipse 报错The method xxx of type must override a superclass method、Description Resource Path Locati
- Linux下时间输出格式精确到微秒-gettimeofday
- struct timeval结构体 以及 gettimeofday()函数
- scripts for query proportion of the on-idle wait time is taken up by these wait classes
- gettimeofday/settimeofday系统调用
- gettimeofday
- Can't adjust the time of day: Invalid argument
- struct timeval结构体 以及 gettimeofday()函数