Kotlin Advent Calendar 2013 22æ¥ç®ã®ã¨ã³ããªã§ãã Javaã®ã©ã¤ãã©ãªä½¿ããã Kotlin使ã£ã¦ã¦æ®éã«ãµã¼ããã¼ãã£è£½ã®ã©ã¤ãã©ãªä½¿ãã¾ããããä¾ãã°Joda-Time使ã£ã¦ãããªæãã§ã fun main(args: Array<String>) { val today = LocalDate.now() val first = today!!.dayOfMonth()!!.withMinimumValue() println(first!!.toString("mm/dd")) } ãããå¢ãããæï¼ï¼ fun main(args: Array<String>) { val today = LocalDate.now() val first = today?.dayOfMonth()?.withMinimumValue() println(first
{{#tags}}- {{label}}
{{/tags}}