TimeUtil class
Constructors
- TimeUtil()
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
-
currentTimeMillis(
) → int -
dayWith1159Millis(
int millisecond) → int -
dayWithZeroMillis(
int millisecond) → int -
getNowTimeFormat1(
{int milliseconds = 0}) → dynamic -
getNowTimeFormat1IgnoreSS(
{int milliseconds = 0}) → dynamic -
getNowTimeFormat2(
{int milliseconds = 0}) → dynamic -
getNowTimeFormat3(
{int milliseconds = 0}) → dynamic -
getNowTimeFormat4(
{int milliseconds = 0}) → dynamic -
getNowTimeFormat5(
{int milliseconds = 0}) → dynamic -
getNowTimeFormat6(
{int milliseconds = 0}) → dynamic -
getNowTimeFormat7(
{int milliseconds = 0}) → dynamic -
getNowTimeFormat8(
{int milliseconds = 0}) → dynamic -
getNowTimeFormatAll(
{int milliseconds = 0, required List< String> formats}) → dynamic -
isDateBeginEnd(
{required int checkDateMs, required int startDateMs, required int endDateMs}) → bool -
isTodayNow(
{required int milliseconds}) → dynamic - 是否是今天
-
isYesterday(
{required int milliseconds}) → dynamic - 是否是昨天
-
today1159ZeroMillis(
) → int -
todayZeroMillis(
) → int
Constants
-
formats1
→ const List<
String> - 2021-04-19 18:29:30
-
formats1IgnoreSS
→ const List<
String> - 2021-04-19 18:29
-
formats2
→ const List<
String> - 2021.04.19 18:29:30
-
formats3
→ const List<
String> - 2021-04-19
-
formats4
→ const List<
String> - 2021.04.19
-
formats5
→ const List<
String> - 2021.04.19 18:29
-
formats6
→ const List<
String> - 18:29
-
formats7
→ const List<
String> - 2021-04-19
-
formats8
→ const List<
String> - 18:29:30