Created
November 13, 2013 16:04
-
-
Save gbougeard/7451564 to your computer and use it in GitHub Desktop.
dailyWTF
This file contains 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
int cptDays = 0; | |
while (startPeriodCal.getTimeInMillis() < endPeriodCal.getTimeInMillis()) { | |
startPeriodCal.add(Calendar.DATE, 1); | |
cptDays = cptDays + 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment