Check if the date format is for day(contain y、M、d、E) or not.
static bool isDayFormat(String format) { return format.contains(RegExp(r'[yMdE]')); }