Net::RDAP::Event(3p)

NAME
Net::RDAP::Event - a module representing an RDAP event.

DESCRIPTION
RDAP objects and records may have zero or more "events" associated with them. The events() method of various "Net::RDAP::Object::" modules may return an array of Net::RDAP::Event objects.

METHODS

  Event Action
    $action = $event->action;

Returns a string containing the event action. The list of possible values is defined by an IANA registry, see:

•   <https://www.iana.org/assignments/rdap-json-values/rdap-json-values.xhtml>

  Event Actor
    $actor = $event->actor;

Returns a string containing the handle of the entity responsible for causing the event.

  Event Date
    $date = $event->date;

Returns a DateTime::Tiny object corresponding to the date and time of the event.

Prior to Net::RDAP v0.35, this method returned a DateTime, but this was switched to DateTime::Tiny for performance reasons. If you need a DateTime, use "$event->date->DateTime".

  Event Time Zone
    $tz = $event->date_tz;

Since DateTime::Tiny does not support time zones, this method will return the time zone part of the "eventDate" property. For a well-formed "eventDate" value, this will either be "Z" (indicating UTC, or an offset of the form "+/-HH:MM".

COPYRIGHT
Copyright 2018-2023 CentralNic Ltd, 2024-2025 Gavin Brown. For licensing information, please see the "LICENSE" file in the Net::RDAP distribution.