Re: [Quickfix-developers] SessionScedule getters wanted
Brought to you by:
orenmnero
|
From: Staffan U. <sta...@mu...> - 2006-05-10 11:39:28
|
sta...@mu... writes:
> I would need to look ath the start and end times for the current
> session in a quickfixj application. Is there a strong reason for not
> including:
>
> Date getStartTime() {
> return startTime.getTime();
> }
>
> Date getEndTime() {
> return endTime.getTime();
> }
>
> In quickfixj.SessionScedule, or could this be added?
I realized that the class is not even public, and also that
startTime.getTime() does not return the time of the session start, if
it spans multiple days.
Anyway, it would be nice to have methods for this purpose on the
Session class, and I believe they should return the actual start and
end times for the session. (This can be used, for example, for
pruning log files, and for scheduling things to happen at the end of a
session.)
Staffan
|