padrão regex para o tempo
// Regex pattern for HH:MM 24-hour with leading 0
String timeRegex = "^(0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$";
// Regex pattern for HH:MM 24-hour with leading 0
String timeRegex = "^(0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$";