ONVIF:...ateTime(3pm)
π NAME π
okay bestie, say hi to ONVIF::Media::Types::DateTime β that's the whole name, and yeah, it's a Perl thang. This is the manual page for it (section 3pm, perl-land, iykyk) and we're gonna walk through it together like it's a lil gossip sesh. β¨
πΈ DESCRIPTION πΈ
So. This class is a Perl data type class for the XML Schema defined complexType called DateTime, and it lives in the namespace http://www.onvif.org/ver10/schema. That's it, that's the vibe β it's a lil container that knows how to be a DateTime in XML Schema land. π
π PROPERTIES π
These are the properties you can reach, and the way you reach them is with get_PROPERTY / set_PROPERTY methods. get to peek, set to yeet a new value in. π«Ά
Timeβ the time part, obviously bestieDateβ and the date part
β¨ METHODS β¨
π new
Constructor!! This is the glow-up moment where your object gets born. π And here's the tea: the following data structure may be passed to new():
{ # ONVIF::Media::Types::DateTime
Time => { # ONVIF::Media::Types::Time
Hour => $some_value, # int
Minute => $some_value, # int
Second => $some_value, # int
},
Date => { # ONVIF::Media::Types::Date
Year => $some_value, # int
Month => $some_value, # int
Day => $some_value, # int
},
},
Look at that structure, it's giving organized. π Time holds a ONVIF::Media::Types::Time with Hour, Minute and Second (all int), and Date holds a ONVIF::Media::Types::Date with Year, Month and Day (also all int). Not me being obsessed with how clean that is. π
ngl, copy that structure exactly β those keys are case-sensitive and the comments are just there to tell you the type, so don't go passing the comments anywhere. π
π AUTHOR π
Generated by SOAP::WSDL. iconic behaviour, no notes. π
and that's a wrap, bestie!! π¦ this page was served up by perl v5.40.1, dated 2026-02-01, and it's the ONVIF:...ateTime(3pm) page β go forth and construct your DateTimes, you absolute main character. πβ¨π
π¦ 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