Obj :: *是什么意思?

时间:2019-05-23 09:41:42

标签: c++ oop c++11

Obj :: *是什么意思? 叫什么?

fun String.isLessThanEndDate(toDate:String):Boolean {
        val dfDate = SimpleDateFormat("dd MMM, yyyy", Locale.ENGLISH)
        var result = false
        try
        {
            result = dfDate.parse(this).before(dfDate.parse(toDate)) || dfDate.parse(this) == dfDate.parse(toDate)
        }
        catch (e:ParseException) {
            e.printStackTrace()
        }
        return result
    }

0 个答案:

没有答案