MCPcopy Create free account
hub / github.com/apache/arrow-rs / format_timezone

Function format_timezone

arrow/tests/array_cast.rs:625–628  ·  view source on GitHub ↗
(tz: &str)

Source from the content-addressed store, hash-verified

623}
624
625fn format_timezone(tz: &str) -> Result<String, ArrowError> {
626 let array = Arc::new(TimestampSecondArray::from(vec![Some(11111111), None]).with_timezone(tz));
627 Ok(pretty_format_columns("f", &[array])?.to_string())
628}
629
630#[test]
631fn test_pretty_format_timestamp_second_with_utc_timezone() {

Calls 2

pretty_format_columnsFunction · 0.85
with_timezoneMethod · 0.45

Tested by

no test coverage detected