bfgTimeManager Class
Manage time in UTC or local timezone. More...
Public Member Functions | |
| final Date | adjustedDate (long date) |
| Adjust a date to match the local CDN server date/time timezone delta. More... | |
| int | getDaysSinceFirstLaunch (long sessionStart) |
| Get days since install (first launch). More... | |
| synchronized long | getFirstLaunchDateTime () |
| Get the date/time of first launch, in ms since Unix epoch. More... | |
Static Public Member Functions | |
| static long | adjustedNowMs () |
| Get current adjusted date/time, in milliseconds. More... | |
| static void | initialize () |
| Static initializer (must be called before using sharedInstance()) | |
| static bfgTimeManager | sharedInstance () |
| Get shared instance of this singleton. | |
Detailed Description
Manage time in UTC or local timezone.