BasicDateTimeValidator class
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
-
isDateTime(
String str, {String? validator}) → bool -
isTimeOfDay(
String str) → bool -
isValidDate(
{required int year, required int month, required int day}) → bool -
isValidDay(
{required int day}) → bool -
isValidHour(
{required int hour}) → bool -
isValidMinute(
{required int minute}) → bool -
isValidMonth(
{required int month, int? day}) → bool -
isValidTime(
int hour, int minute) → bool -
isValidYear(
{required int year, int? month, int? day}) → bool