EsigDateUtils class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
bimestre(
DateTime data) → int -
formatDate(
String data) → DateTime -
formatDateDMA(
DateTime data) → String -
formatDateDMAHM(
String date) → DateTime - Recebe String com formato 'dd-MM-aaaa hh-mm' e retorna o DateTime correspondente.
-
formatDateTime(
DateTime data, {String format = 'dd/MM/yyyy HH:mm:ss'}) → String -
formatDMA(
String data) → String - Recebe String com formato 'dd-MM-aaaa hh-mm' e retorna 'dd/MM/aaaa'. Ex.: '11-10-2020 03:00' é convertido para '11/10/2020'
-
formatMonthToInt(
String month) → int -
getListaDias(
Dia primeiro, Dia ultimo) → List< Dia> -
getNomeDiaSemana(
Dia dia) → String -
getNomeMes(
int mes) → String -
getNomeMesAbrev(
int mes) → String -
getNomeMeses(
List< int> meses) → String -
Retorna os nomes em português dos
meses
em letras maiúsculas separados por ' / ' -
getPrimeiroDomingo(
Dia dia) → Dia -
Começa busca pelo 1º dia do mês de
dia
-
getUltimoSabado(
Dia dia) → Dia -
Começa busca pelo último dia do mês do
dia
passado -
semestre(
DateTime data) → int -
strDiaMesAnoToDia(
String data) → Dia - Recebe String no formato 'dd-MM-yyyy' e retorna um Dia correspondente
-
trimestre(
DateTime data) → int