ONVIF::...DateTime(3)
β¨ ONVIF::...DateTime(3) β¨
okay so bestie, we're deep in the ONVIF::PTZ::Types corner of the Perl universe today β this page lives in the User Contributed Perl Documentation, so you already know it's giving community-crafted realness π
πΈ NAME πΈ
ONVIF::PTZ::Types::SystemDateTime β literally exactly what it says on the tin, no cap π«Ά
π¦ DESCRIPTION π¦
It's a Perl data type class for the XML Schema defined complexType SystemDateTime from the namespace http://www.onvif.org/ver10/schema. iconic behaviour tbh β¨
And what is it for? It's the general date time information returned by the GetSystemDateTime method. that's the whole vibe β date time info, general, returned by that method. periodt π
π PROPERTIES π
these are the properties you can access using the get_PROPERTY / set_PROPERTY methods. six of them. a little matched set. we love a group of six π
DateTimeTypeDaylightSavingsTimeZoneUTCDateTimeLocalDateTimeExtension
π₯ METHODS π₯
β new
Constructor β¨ the following data structure may be passed to new():
{ # 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 lowkey the same structure twice β Time with Hour, Minute, Second, and Date with Year, Month, Day, all int. the way they said "do it again but for local" ππ but honestly? consistent. we respect it π§
and Extension is just an empty ONVIF::PTZ::Types::SystemDateTimeExtension in there, doing its little thing, vibing with zero fields π
π AUTHOR π
Generated by SOAP::WSDL β not a human, a generator. the machine wrote it so you don't have to π©·
fr fr bestie, keep every one of those property names and nested keys exactly as written β the XML schema does not accept your creative interpretation, no matter how cute it is π
and that's the whole page! brought to you by perl v5.42.3 and dated 1980-01-01 β yes the date is older than everyone reading this, it's fine, it's vintage, it's aesthetic ππ
π¦ where this page comes from
- nixpkgs unstable: zoneminder 1.38.6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms