DateFormatterUtil class

Constructors

DateFormatterUtil.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Methods

fromDateString(String? selectedyyyyMMddDateString) DateTime?
将日期字符串转成日期(支持 2022-01-01 及 01-01 格式,后者会自动补上当前年,传null或空字符串或请填写日期等非日期格式时候,会无法解析,返回null)