Created
March 5, 2018 08:14
-
-
Save lgawin/9de43e240335716407a31364e1eeaaa3 to your computer and use it in GitHub Desktop.
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
private inline val Calendar.year: Int | |
get() = get(Calendar.YEAR) | |
private inline val Calendar.month: Int | |
get() = get(Calendar.MONTH) | |
private inline val Calendar.day: Int | |
get() = get(Calendar.DAY_OF_MONTH) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment