DateTimeCellValue class

Excel does not know if this is UTC or not. Use methods asDateTimeLocal or asDateTimeUtc to get the DateTime object you prefer.

Inheritance

Constructors

DateTimeCellValue({required int year, required int month, required int day, required int hour, required int minute, int second = 0, int millisecond = 0, int microsecond = 0})
const
DateTimeCellValue.fromDateTime(DateTime date)

Properties

day → int
final
hashCode → int
The hash code for this object.
no setteroverride
hour → int
final
microsecond → int
final
millisecond → int
final
minute → int
final
month → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
second → int
final
year → int
final

Methods

asDateTimeLocal() → DateTime
asDateTimeUtc() → DateTime
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