strDiaMesAnoToDia static method

Dia strDiaMesAnoToDia(
  1. String data
)

Recebe String no formato 'dd-MM-yyyy' e retorna um Dia correspondente

Implementation

static Dia strDiaMesAnoToDia(String data) {
  return Dia.fromDateTime(DateFormat('dd-MM-yyyy').parse(data));
}