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

Method with_timezone

arrow-array/src/array/primitive_array.rs:1570–1572  ·  view source on GitHub ↗

Construct a timestamp array with new timezone

(self, timezone: impl Into<Arc<str>>)

Source from the content-addressed store, hash-verified

1568
1569 /// Construct a timestamp array with new timezone
1570 pub fn with_timezone(self, timezone: impl Into<Arc<str>>) -> Self {
1571 self.with_timezone_opt(Some(timezone.into()))
1572 }
1573
1574 /// Construct a timestamp array with UTC
1575 pub fn with_timezone_utc(self) -> Self {

Calls 1

with_timezone_optMethod · 0.45