Created
June 16, 2020 18:53
-
-
Save yenerm/655ba10042b6809642ccf91fd6f9f06b to your computer and use it in GitHub Desktop.
Period Sample
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
<!-- Copyright 2019 Google LLC. | |
SPDX-License-Identifier: Apache-2.0 → | |
LocalDate now = LocalDate.now(); | |
LocalDate androidBeta = LocalDate.of(2020, 6, 10); | |
Period period = Period.between(androidBeta, now); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment