CustomTimeNumFormat class Number Formats

A custom time format with a user-defined format code.

Inheritance
Implemented types

Constructors

CustomTimeNumFormat({required String formatCode})
Creates a custom time format with the given formatCode.
const

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.
inherited
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.
inherited
toString() → String
A string representation of this object.
override
writeTime(TimeCellValue value) → String
Returns the raw day-fraction string used to store value in the worksheet.
inherited

Operators

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