Hi, I need help in this issue and I am a returning java programmer after a big gap.
In my project currently a double is holding a time value such as unix timestamp with microseconds such as 1378500160.123456 where as unix timestamp + microseconds. Requirement I need to implement is, unix timestamp + nanosecond or picosecond.
1) Is there any datatype which can hold this value in Java? Pl. provide an example for that.
2) I looked into BigDecimal. Will it work for this requirement? If it works I need a sample code for my req.
3) If above will not work Pl. provide me a customized method to do this req.
I hope some one can help me as I have a deadline to meet.
Thanks, Srija
Note: Couldn't find right tag.