Last active
September 24, 2017 05:44
-
-
Save evjeny/286ab94474b9779915c917edc72a5f9c to your computer and use it in GitHub Desktop.
Description
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
//Created by evjeny | |
fun main(args: Array<String>) { | |
val time = Integer.parseInt(LocalDateTime.now().format(DateTimeFormatter.ofPattern("HH"))) | |
print(if(time in 23..6) "Sleeps" else "Hallo") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment