Package io.rdapapi.client.responses
Class Dates
java.lang.Object
io.rdapapi.client.responses.Dates
-
Method Summary
Modifier and TypeMethodDescriptionParse the expiry date into an Instant, or null if absent or unparseable.Days until expiration, or null if no expiry date is available.Parse the registered date into an Instant, or null if absent or unparseable.Parse the updated date into an Instant, or null if absent or unparseable.
-
Method Details
-
getRegistered
-
getExpires
-
getUpdated
-
getRegisteredAt
Parse the registered date into an Instant, or null if absent or unparseable. -
getExpiresAt
Parse the expiry date into an Instant, or null if absent or unparseable. -
getUpdatedAt
Parse the updated date into an Instant, or null if absent or unparseable. -
getExpiresInDays
Days until expiration, or null if no expiry date is available.Returns a negative number if the domain has already expired.
-