MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / parse_fixed_u32

Function parse_fixed_u32

src/timeutil.rs:283–285  ·  view source on GitHub ↗
(value: &str, start: usize, end: usize)

Source from the content-addressed store, hash-verified

281}
282
283fn parse_fixed_u32(value: &str, start: usize, end: usize) -> Option<u32> {
284 value.get(start..end)?.parse().ok()
285}
286
287fn days_in_month(year: i32, month: u32) -> u32 {
288 match month {

Callers 2

parse_rfc3339_timestampFunction · 0.85

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected