DateTimeExtension extension
- on
Properties
- horaInicial → DateTime
-
Available on DateTime, provided by the DateTimeExtension extension
Remove informação de hora, minuto, segundo e milisegundo Retorna o mesmo DateTime com somente ano, mês e diano setter - string → String
-
Available on DateTime, provided by the DateTimeExtension extension
no setter - truncateFuture → DateTime
-
Available on DateTime, provided by the DateTimeExtension extension
Retorna o mesmothisse estiver numa data passada. Retorna DateTime.now() sethisfor uma data futura. Cálculo não considera informações de hora, minuto e segundo.no setter
Methods
-
equalDate(
DateTime other) → bool -
Available on DateTime, provided by the DateTimeExtension extension
Compara igualdade entre dois DateTime desconsiderando tempo -
formattedDate(
[String separator = '/']) → String -
Available on DateTime, provided by the DateTimeExtension extension
Retorna String com data formatada. É possível configurar o caractere separador.