Class Dates

java.lang.Object
io.rdapapi.client.responses.Dates

public final class Dates extends Object
  • Method Details

    • getRegistered

      public String getRegistered()
    • getExpires

      public String getExpires()
    • getUpdated

      public String getUpdated()
    • getRegisteredAt

      public Instant getRegisteredAt()
      Parse the registered date into an Instant, or null if absent or unparseable.
    • getExpiresAt

      public Instant getExpiresAt()
      Parse the expiry date into an Instant, or null if absent or unparseable.
    • getUpdatedAt

      public Instant getUpdatedAt()
      Parse the updated date into an Instant, or null if absent or unparseable.
    • getExpiresInDays

      public Long getExpiresInDays()
      Days until expiration, or null if no expiry date is available.

      Returns a negative number if the domain has already expired.