ONVIF:...ateTime(3pm)

πŸ“¦
version 1.36.37 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

✨ NAME ✨

ONVIF::PTZ::Types::DateTime β€” that's the whole name, bestie, and it's a page from the perl manual (section 3pm, for the record). πŸ’…


🌸 DESCRIPTION 🌸

okay so. This is a Perl data type class, and it exists for the XML Schema defined complexType DateTime, which comes straight outta the namespace http://www.onvif.org/ver10/schema. no cap, that's the entire description. it's giving "small but mighty." πŸ¦‹


πŸŽ€ PROPERTIES πŸŽ€

These are the properties you can reach with the get_PROPERTY / set_PROPERTY methods (iykyk, the underscore pattern):

  • Time ⏰
  • Date πŸ“…

πŸ’– METHODS πŸ’–

⭐ new ⭐

Constructor. The way this works: here's the data structure you may pass to new() β€” literally, character for character:

{ # 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
  },
},

look at that nesting. Time holds Hour, Minute, Second (all int, and each one's a $some_value), and Date holds Year, Month, Day (also all int, also $some_value). two little nested hashes, one big happy DateTime. periodt. πŸ‘‘


🌈 AUTHOR 🌈

Generated by SOAP::WSDL. not a human, a machine, and honestly? it ate. πŸ€–βœ¨


aaaand that's the whole page, bestie 🫢 this cutie came to you from perl v5.40.1, dated 2026-02-01. go forth and build your timestamps πŸ’–πŸŒΈπŸ’…

πŸ“¦ where this page comes from