ONVIF:...ateTime(3pm)
π NAME π
okay so bestie, meet ONVIF::PTZ::Types::SystemDateTime β it's a Perl data type class for the XML Schema complexType SystemDateTime, and it lives in the 3pm section of the manual (that's the User Contributed Perl Documentation shelf, iykyk π«Ά).
β¨ DESCRIPTION β¨
It's giving... a Perl data type class for the XML Schema defined complexType SystemDateTime, from the namespace http://www.onvif.org/ver10/schema.
Basically it holds the general date/time info that the GetSystemDateTime method hands back. So when the system is like "hey here's what time it is," this is the lil container that catches it. π°οΈβ¨
πΈ PROPERTIES πΈ
These are the properties you can get at and set with the get_PROPERTY / set_PROPERTY methods β one of each, no skips:
DateTimeTypeDaylightSavingsTimeZoneUTCDateTimeLocalDateTimeExtension
π METHODS π
π new
Constructor, babe. It's the glow-up moment where your object gets born. β¨ Here's the data structure you may pass to new() β and yes, every single field is staying exactly as it is:
{ # ONVIF::PTZ::Types::SystemDateTime
DateTimeType => $some_value, # SetDateTimeType
DaylightSavings => $some_value, # boolean
TimeZone => { # ONVIF::PTZ::Types::TimeZone
TZ => $some_value, # token
},
UTCDateTime => { # ONVIF::PTZ::Types::DateTime
Time => { # ONVIF::PTZ::Types::Time
Hour => $some_value, # int
Minute => $some_value, # int
Second => $some_value, # int
},
Date => { # ONVIF::PTZ::Types::Date
Year => $some_value, # int
Month => $some_value, # int
Day => $some_value, # int
},
},
LocalDateTime => { # ONVIF::PTZ::Types::DateTime
Time => { # ONVIF::PTZ::Types::Time
Hour => $some_value, # int
Minute => $some_value, # int
Second => $some_value, # int
},
Date => { # ONVIF::PTZ::Types::Date
Year => $some_value, # int
Month => $some_value, # int
Day => $some_value, # int
},
},
Extension => { # ONVIF::PTZ::Types::SystemDateTimeExtension
},
}
Like, look at that nesting. UTCDateTime and LocalDateTime are both ONVIF::PTZ::Types::DateTime, each one carrying a Time (ONVIF::PTZ::Types::Time with Hour, Minute, Second β all int) and a Date (ONVIF::PTZ::Types::Date with Year, Month, Day β also int). And TimeZone holds a TZ token. Obsessed, honestly. π¦
π§ AUTHOR π§
Generated by SOAP::WSDL β no human author claimed, the machine did that. Iconic of it, fr fr. π
okay bestie that's the whole page, mwah π this was ONVIF::PTZ::Types::SystemDateTime, section 3pm, from the User Contributed Perl Documentation, sitting pretty as perl v5.40.1 dated 2026-02-01. go forth and slay those date times πβ¨
π¦ where this page comes from
- ubuntu resolute: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- ubuntu stonking: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms