Docs.rs
x-com-lib-0.1.7
x-com-lib 0.1.7
Docs.rs crate page
MPL-2.0
Links
crates.io
Source
Owners
dqdeep
Dependencies
async-trait ^0.1.68
normal
futures ^0.3.28
normal
lazy_static ^1.4.0
normal
pin-utils ^0.1
normal
protobuf ^3.2.0
normal
serde ^1.0.163
normal
serde_json ^1.0.96
normal
tokio ^1.28.1
normal
toml ^0.8.6
normal
tracing ^0.1
normal
tracing-subscriber ^0.3
normal
x-common-lib ^0.1.7
normal
Versions
8%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
xComLib
0.1.7
Module time_utils
Functions
In crate xComLib
?
Module
xComLib
::
time_utils
source
·
[
−
]
Functions
begin_timestamp_from
获取指定时间的开始时间
cur_time_str
获取当前时间
cur_time_str_with_format
cur_timestamp
获取下一天刚开始的时间戳
hms_from_timestamp
通过时间戳获取时分秒
last_min_timestamp_from
获取指定时间戳,在当天最后这一分钟的时间戳
next_day_begin_timestamp_from
获取下一天刚开始的时间戳
next_day_begin_timestamp_from_today
获取下一天刚开始的时间戳
pre_day_begin_timestamp_from
获取前一天的时间
pre_day_begin_timestamp_from_today
获取前一天的时间
str_to_time
time_to_str
timestamp_to_string
ymd_from_timestamp
通过时间戳获取年月日