kisDateTime method

bool kisDateTime(
  1. String s
)

检查字符串是否为时间 Example: 2020-04-27 08:14:39.977, 2020-04-27T08:14:39.977, 2020-04-27 01:14:39.977Z

Implementation

bool kisDateTime(String s) => matches(_RegexConst.dateTime);