MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / name

Method name

graphlite/src/functions/timezone_functions.rs:128–133  ·  view source on GitHub ↗

Get timezone name/identifier

(&self)

Source from the content-addressed store, hash-verified

126
127 /// Get timezone name/identifier
128 fn name(&self) -> String {
129 match self {
130 TimezoneType::Named(tz) => tz.to_string(),
131 TimezoneType::Fixed(offset) => offset.to_string(),
132 }
133 }
134
135 /// Get timezone offset in seconds for a given UTC datetime
136 fn offset_seconds(&self, utc_dt: &DateTime<Utc>) -> i32 {

Callers 1

executeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected