what does the return value (long) of class com.ibm.team.build.client.ITeamBuildClient getBuildStartTime method represent
what does the return value (long) of class com.ibm.team.build.client.ITeamBuildClient getBuildStartTime method represent
the return value I get is 1492799546626 ... does not seem to be UTC time ... what is value format?
|
Accepted answer
That is "epoch time". It is the value of unix time(3) function + milliseconds. I'm pretty sure it can be "converted" using Java Calendar / date formatter. ( Calendar.setTimeInMillis() )
Marc St-Amour selected this answer as the correct answer
|
One other answer
Thank you Kevin!
Turns out I just did a divide by 1000 on the return value for Git to accept it as a valid value for the rev-list command --since parameter ...
|
Comments
sorry wrong class ... Interface com.ibm.team.build.common.model.IBuildResult getBuildStartTime method