obterHoraHHMM static method

String obterHoraHHMM(
  1. DateTime dateTime
)

Retorna a hora informada no formato hh:mm

Implementation

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