Created
December 21, 2016 23:20
-
-
Save quiro91/be070c5d4dd08c3dd69209f62f14ffb7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Calendar calendar = Calendar.getInstance(); | |
calendar.add(Calendar.MONTH, -1); | |
long start = calendar.getTimeInMillis(); | |
long end = System.currentTimeMillis(); | |
Map<String, UsageStats> stats = usageStatsManager.queryAndAggregateUsageStats(start, end); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment