Check if the date format is for time(contain H、m、s) or not.
static bool isTimeFormat(String format) { return format.contains(RegExp(r'[Hms]')); }