DateTimeNumFormat class sealed Number Formats

Base class for date/time number formats.

Inheritance
Implementers

Properties

formatCode String
The Excel format code string that controls how the value is displayed.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

accepts(CellValue? value) bool
Whether value can be displayed with this format.
override
format(Object? value) String
Renders value the way a spreadsheet application would display it under this format.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String v) CellValue
Parses the raw stored string v into the CellValue this format represents.
override
toString() String
A string representation of this object.
inherited
writeDate(DateCellValue value) String
Returns the raw serial-day string used to store value in the worksheet.
writeDateTime(DateTimeCellValue value) String
Returns the raw serial-day string used to store value in the worksheet.

Operators

operator ==(Object other) bool
The equality operator.
inherited