ONVIF::...es::Time(3)
β¨ ONVIF::Analytics::Types::Time β bestie, it's a time class π
Okay so picture this: you're deep in the ONVIF::...es::Time(3) page from the User Contributed Perl Documentation, and it turns out the whole thing is just... a time. Three little ints. That's the vibe. And honestly? Iconic of it. π
πΈ NAME πΈ
ONVIF::Analytics::Types::Time β literally right there in the name, no notes, we move.
π¦ DESCRIPTION π¦
So this is a Perl data type class for the XML Schema defined complexType Time, and the namespace it calls home is:
http://www.onvif.org/ver10/schema
That's it, that's the whole personality. It's a Perl class wrapper for that schema type, periodt. β¨
π PROPERTIES π
These are the properties you can reach with the get_PROPERTY / set_PROPERTY methods β yes, the naming convention is exactly that, get_Hour, set_Hour, iykyk:
Hourβ the hour one, bestie πMinuteβ the minute one, obviouslySecondβ and the second one, we love a complete set π
π METHODS π
π new
Constructor time, for real for real. Here's the data structure you may pass to new() β and yeah, I'm giving it to you verbatim because code is sacred:
{ # ONVIF::Analytics::Types::Time
Hour => $some_value, # int
Minute => $some_value, # int
Second => $some_value, # int
},
So Hour, Minute, and Second all get an int, and that's genuinely the whole thing. Clean, minimal, main character energy. π
π«Ά AUTHOR π«Ά
Generated by SOAP::WSDL β no cap, it made this itself, it's built different. π€
π real talk: the only danger here is forgetting thatHour,MinuteandSecondall wantints. No undefined behaviour lore, no deprecated warnings, just three integers chilling. Slay.
and that's the tea, bestie π β this gem was served fresh from perl v5.42.3, dated 1980-01-01 (yes, that date is real, and yes, it's giving time-traveling icon π§). See you in the next manpage, mwah. π
π¦ 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