CalendarDateTime class

A date and time in a specific calendar.

Years use astronomical numbering: year 0 is 1 BC, year −1 is 2 BC.

Constructors

CalendarDateTime(int year, int month, int day, {int hour = 0, int minute = 0, double second = 0, required Calendar calendar})
const

Properties

calendar → Calendar
final
day → int
final
hashCode → int
The hash code for this object.
no setteroverride
hour → int
final
minute → int
final
month → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
second → double
Seconds with fraction (millisecond resolution).
final
year → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override