obterHoraHHMMSS static method

String obterHoraHHMMSS(
  1. DateTime dateTime
)

Retorna a hora informada no formato hh:mm:ss

Implementation

static String obterHoraHHMMSS(DateTime dateTime) {
  initializeDateFormatting();
  return DateFormat.Hms('pt_BR').format(dateTime);
}