apply


fun buildObject() : Calendar { 
  return Calendar.getInstance().apply { 
    set(2017, 3, 1, 4, 56, 34)
  }
}

Back Home Next