Advertisement
Guest User

Untitled

a guest
Dec 12th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 0.30 KB | None | 0 0
  1. val start = jCalendar.getInstance().apply {
  2.     this.time = calendarField.startDate
  3.     this.add(jCalendar.MONTH, 1)
  4. }.time
  5. --------------------------------------
  6. val calendar = jCalendar.getInstance()
  7. calendar.time = calendarField.startDate
  8. calendar.add(jCalendar.MONTH, 1)
  9. val start = calendar.time
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement