idkit_timeformat 0.0.2 idkit_timeformat: ^0.0.2 copied to clipboard
This is a toolkit for time formatting, which can output time strings in common formats and custom formats.
0.0.1 #
-
Initial build of the project.
-
Timestamp formatting function.
This time formatting package provides three types of formatting methods, namely:
-
This method is to get the formatting style of the current timestamp.fromNow({String format, TimeUnit timeUnit})
-
This method is to get the formatting style of the timestamp of typefromInt(int time, {String format, TimeUnit timeUnit})
int
. -
This method is to get the formatting style of the timestamp of typefromString(String time ,{String format, TimeUnit timeUnit})
String
.
-
0.0.2 #
- Add a sample project used by the package.
- Improve the readme.md document, briefly introduce the use of the package.
- Add comments to package project method.