obterDataMMAAAA static method

String obterDataMMAAAA(
  1. DateTime dateTime
)

Retorna a data informada no formato MM/AAAA

Implementation

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