ONVIF:...ateTime(3pm)

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

πŸ’– 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 bestie
  • Date β€” 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