public class DomainOwnerInfo extends Object implements Comparable
Constructor and Description |
---|
DomainOwnerInfo(Date d,
String info)
Create new instance.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object other)
Compares two DomainOwnerInfo objects using dates.
|
Date |
getDate()
Gets the date.
|
String |
getInfo()
Gets the owner information.
|
public DomainOwnerInfo(Date d, String info)
d
- the date the owner information is registeredinfo
- the owner informationpublic int compareTo(Object other)
compareTo
in interface Comparable
other
- is a non-null DomainOwnerInfo.ClassCastException
- if other
is not an DomainOwnerInfo object.Comparable.compareTo(java.lang.Object)
Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.