DateTime class
Represents a date/time.
- Implemented types
Constructors
- DateTime()
- Creates a new instance of the DateTime class.
-
DateTime.fromHandle(Pointer<
id3BiosealDateTime> handle) - Creates a new instance of the DateTime class.
Properties
- day → int
-
The day (1 through the number of days in month).
no setter
-
handle
→ Pointer<
id3BiosealDateTime> -
Gets the native handle.
return The native handle.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hour → int
-
The hour (0 through 23, -1 if invalid time).
no setter
- minute → int
-
The minute (0 through 59).
no setter
- month → int
-
The month (1 through 12).
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- second → int
-
The second (0 through 59).
no setter
- year → int
-
The year (1 through 9999, 0 if invalid date).
no setter
Methods
-
dispose(
) → void - Releases all resources used by this DateTime.
-
getDay(
) → int - Gets the the day (1 through the number of days in month).
-
getHour(
) → int - Gets the the hour (0 through 23, -1 if invalid time).
-
getMinute(
) → int - Gets the the minute (0 through 59).
-
getMonth(
) → int - Gets the the month (1 through 12).
-
getSecond(
) → int - Gets the the second (0 through 59).
-
getYear(
) → int - Gets the the year (1 through 9999, 0 if invalid date).
-
isDateTimeValid(
) → bool - Indicates whether the date and time are valid.
-
isDateValid(
) → bool - Indicates whether the date is valid.
-
isTimeValid(
) → bool - Indicates whether the time is valid.
-
isValid(
) → bool - Indicates whether the date and/or time is valid.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Convert the date/time to a string.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited