ONVIF:...teTime(3pm)
β¨ ONVIF::Device::Types::DateTime β¨
okay bestie, pull up a chair π this is the Perl data type class for the XML Schema defined complexType DateTime from the namespace http://www.onvif.org/ver10/schema. that's it, that's the whole vibe. it's giving "I exist so that SOAP::WSDL can hand you a DateTime-shaped thing and nobody has to cry about it."
(and if you were out here looking for the manual, it lives under ONVIF:...teTime(3pm) β yes the name got absolutely mangled, we don't talk about it π)
π PROPERTIES π
these are the properties you can get at with get_PROPERTY / set_PROPERTY methods, no cap:
Timeβ the time part πDateβ the date part π
πΈ METHODS πΈ
π new
Constructor, queen. The following data structure may be passed to new():
{ # ONVIF::Device::Types::DateTime
Time => { # ONVIF::Device::Types::Time
Hour => $some_value, # int
Minute => $some_value, # int
Second => $some_value, # int
},
Date => { # ONVIF::Device::Types::Date
Year => $some_value, # int
Month => $some_value, # int
Day => $some_value, # int
},
},
look at that nesting. iconic. Hour, Minute, Second all ints inside Time, and Year, Month, Day all ints inside Date, and both of them cozy inside the DateTime hash. slay. π¦
π AUTHOR π
Generated by SOAP::WSDL β the machine did it, not me, and honestly? it ate. β¨
okay that's the whole page, bestie, you're basically an ONVIF expert now π«Ά fr fr, perl v5.40.1, dated 2026-02-01 β mwah, go forth and parse some XML πππ
π¦ 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