Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mylyn-builds-dev] Question about IBuild's timestamp and duration

Hi all,

I have a question about Mylyn's Build/IBuild's timestamp and duration field.
I have the build's start and end time in double values, which are POSIX timestamps
(actual long value can be converted by (long)(value of timestamp * 1000).

So in the Build's timestamp field, am I supposed to fill the actual long value of
the start time?  Or the end time?  Or I am only supposed to put the casted long value
of the POSIX timestamp (start or end)? (this will cause a big lose of precision)

I also have the same problem with the duration field, should I first convert the
timestamps to their actual long value first, subtract them and fill in?  Or subtract
the timestamps and leave them as POSIX format?

I should be grateful for your kind advice, thank you very much!

Ken Leung


Back to the top