
22 Nov
2004
22 Nov
'04
3 p.m.
Hi, In the Date-Time library, date_duration class provides a set of basic arithmetic operations. Among others there is multiplication and division. Current interface supports only integer factors. Sometimes this precision is not sufficient. I have actualy came accross such a occasion. I need to adjust the duration using a multiplier from range <0,1>. Currenly it is not feasible, and I have to workaroud it by converting to microseconds and back. Would it be possible to alter the interface, so it will be able to use real factors? Thanks. Regards, Pavol