【kotlin】long转化为date类型 或者date字符串
1.方法体中的package org.joda.time.DateTime(long类型)fun Long?.toDateTime() = if (null != this) DateTime(this) else null2.再一个方法private fun dateTime( time:Long? = null ) = if(time != nul...