How to convert from TimePrimitive to int?
<p>I have some data values(of type TimePrimitive) which i need to write out  to a file , but the method out.write() takes only the parameter as int so i need to find a way to convert my values to int</p>
