Skip to main content
parse_hhmm
yggdrasil
0.12.3
In yggdrasil::
models::
settings
yggdrasil
::
models
::
settings
Function
parse_
hhmm
Copy item path
Source
fn parse_hhmm(s: &
str
) ->
Option
<(
u8
,
u8
)>
Expand description
解析 “HH:MM”(容忍单数字与空白)为 (hour, minute);非法返回 None。