MyIntUtil class
Constructors
- MyIntUtil()
-
factory
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
-
getAge(
int y, int m, int d) → int - 根据年月日获取年龄
-
getConstellationWith(
int month, int day) → String -
根据月份和日期获取星座
例子: 19960515, 则getConstellationWith(5,15);
month
月份day
日期 -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseWithInt(
int v) → DateParseModel - 将类似于19960515 这种数据,转换成model
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited