그건 API 문서를 참고하시면 됩니다.
https://developers.google.com/android/reference/com/google/android/gms/fitness/data/DataPoint.Builder#setTimeInterval(long,%20long,%20java.util.concurrent.TimeUnit)
startTime The start time in the given unit, representing elapsed time since epoch.
endTime The end time in the given unit, representing elapsed time since epoch.
epoch은 컴퓨터에서 날짜를 계산하기 위한 기준점으로 보면 되는데, 운영체제에 따라 다를 수 있으며, Linux/Unix에서는 1970년 1월 1일을 기준으로 합니다. 안드로이드도 Linux 기반이죠.
"elapsed time since epoch"을 구하는 방법은
Calendar.getTimeInMillis()
Date.getTime()
등을 사용하시면 됩니다. 위의 값들을 millisecond 단위로 리턴됩니다.