public class ZenodoDateInterval extends Object implements Serializable
| Constructor and Description |
|---|
ZenodoDateInterval(Date start,
Date end,
SerializableEnum<String> type,
String description)
Instantiates a new zenodo date interval.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the description.
|
Date |
getEnd()
Gets the end.
|
Date |
getStart()
Gets the start.
|
SerializableEnum<String> |
getType()
Gets the type.
|
void |
setDescription(String description)
Sets the description.
|
void |
setEnd(Date end)
Sets the end.
|
void |
setStart(Date start)
Sets the start.
|
void |
setType(SerializableEnum<String> type)
Sets the type.
|
String |
toString() |
public ZenodoDateInterval(Date start, Date end, SerializableEnum<String> type, String description)
start - the startend - the endtype - the typedescription - the descriptionpublic Date getStart()
public void setStart(Date start)
start - the new startpublic Date getEnd()
public void setEnd(Date end)
end - the new endpublic SerializableEnum<String> getType()
public void setType(SerializableEnum<String> type)
type - the new typepublic String getDescription()
public void setDescription(String description)
description - the new descriptionCopyright © 2021. All Rights Reserved.