instacart / truetime-android

Android NTP time library. Get the true current time impervious to device clock time changes
https://tech.instacart.com/truetime/
Apache License 2.0
1.41k stars 194 forks source link

[Feature Request] Manually setting time #92

Open kenshin171 opened 6 years ago

kenshin171 commented 6 years ago

Instead of connecting to an NTP server, would it be possible to manually input a epoch time (milliseconds) and utilise this library to do offline synchronisation instead. Reason being for my application its very security sensitive so connecting to public NTP servers are a no-go. And hosting my own NTP server would be quite an overkill.

If there is already such a function, i apologise in advance.

benchakalaka commented 5 years ago

I would like to have the same feature please? Is there any chance to add this functionality?