in the Date clas I can get the long value with operator() long. Is there a way to create a new Date instance from this "long" value ?
Example:
Date dt("2004-11-12");
long tmp = dt;
Date dt2 = tmp; // <--- will not work
The same question for class Time ...
Heiko
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, just a small question:
in the Date clas I can get the long value with operator() long. Is there a way to create a new Date instance from this "long" value ?
Example:
Date dt("2004-11-12");
long tmp = dt;
Date dt2 = tmp; // <--- will not work
The same question for class Time ...
Heiko
You are looking for an assignment operator for long? I think the 1.3 releases include this...