ONVIF:...ateTime(3pm)

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

πŸ’– NAME πŸ’–

okay so bestie, meet ONVIF::PTZ::Types::SystemDateTime β€” it's a Perl data type class for the XML Schema complexType SystemDateTime, and it lives in the 3pm section of the manual (that's the User Contributed Perl Documentation shelf, iykyk 🫢).


✨ DESCRIPTION ✨

It's giving... a Perl data type class for the XML Schema defined complexType SystemDateTime, from the namespace http://www.onvif.org/ver10/schema.

Basically it holds the general date/time info that the GetSystemDateTime method hands back. So when the system is like "hey here's what time it is," this is the lil container that catches it. πŸ•°οΈβœ¨


🌸 PROPERTIES 🌸

These are the properties you can get at and set with the get_PROPERTY / set_PROPERTY methods β€” one of each, no skips:

  • DateTimeType
  • DaylightSavings
  • TimeZone
  • UTCDateTime
  • LocalDateTime
  • Extension

πŸ‘‘ METHODS πŸ‘‘

πŸŽ€ new

Constructor, babe. It's the glow-up moment where your object gets born. ✨ Here's the data structure you may pass to new() β€” and yes, every single field is staying exactly as it is:

{ # 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 both ONVIF::PTZ::Types::DateTime, each one carrying a Time (ONVIF::PTZ::Types::Time with Hour, Minute, Second β€” all int) and a Date (ONVIF::PTZ::Types::Date with Year, Month, Day β€” also int). And TimeZone holds a TZ token. Obsessed, honestly. πŸ¦‹


🧚 AUTHOR 🧚

Generated by SOAP::WSDL β€” no human author claimed, the machine did that. Iconic of it, fr fr. πŸ’…


okay bestie that's the whole page, mwah πŸ’– this was ONVIF::PTZ::Types::SystemDateTime, section 3pm, from the User Contributed Perl Documentation, sitting pretty as perl v5.40.1 dated 2026-02-01. go forth and slay those date times πŸ‘‘βœ¨

πŸ“¦ where this page comes from