elicit_jiff
Elicitation-enabled wrappers around jiff datetime types.
Types
| Type | Inner | MCP tools |
|---|---|---|
Zoned |
jiff::Zoned |
year, month, day, hour, minute, second, nanosecond, subsec_nanosecond, day_of_year, days_in_month, weekday, timezone_name, timestamp_seconds, in_tz |
Timestamp |
jiff::Timestamp |
as_second, as_millisecond, as_microsecond, subsec_nanosecond, is_zero, signum, in_tz |
Both implement JsonSchema (delegated to jiff via schemars/jiff02) and
Serialize/Deserialize transparently.
Usage
use ;
let z = parse.unwrap;
println!;
// Convert to another timezone
if let Some = z.in_tz
let ts = from_second.unwrap;
println!;