MatlabDateTime class
Represents a MATLAB datetime value
MATLAB datetime is stored as a floating-point number representing days since January 0, 0000 (MATLAB's epoch)
Constructors
- MatlabDateTime({required DateTime dateTime, String? timezone, String? format})
Properties
- dateTime → DateTime
-
The Dart DateTime representation
final
- format → String?
-
Optional format string
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timezone → String?
-
Optional timezone
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.
inherited
Static Methods
-
fromSerial(
double serial, {String? timezone, String? format}) → MatlabDateTime - Create from MATLAB serial date number
-
fromSerialList(
List< double> serials, {String? timezone, String? format}) → List<MatlabDateTime> - Create a list of MatlabDateTime from serial date numbers