@CodingStyleguideUnaware public class DateType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
Java class for DateType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DateType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="DateString">
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</simpleContent>
</complexType>
</element>
<element name="Date" type="{http://www.w3.org/2001/XMLSchema}date"/>
</choice>
</restriction>
</complexContent>
</complexType>
This class was annotated by ph-jaxb22-plugin -Xph-annotate
This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb22-plugin -Xph-tostring
This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb22-plugin -Xph-value-extender
This class contains methods created by ph-jaxb22-plugin -Xph-offset-dt-extension
| Modifier and Type | Class and Description |
|---|---|
static class |
DateType.DateString
Java class for anonymous complex type.
|
| Constructor and Description |
|---|
DateType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
DateType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(DateType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
com.helger.commons.datetime.XMLOffsetDate |
getDate()
Gets the value of the date property.
|
LocalDate |
getDateLocal()
Created by ph-jaxb22-plugin -Xph-offset-dt-extension
|
DateType.DateString |
getDateString()
Gets the value of the dateString property.
|
String |
getDateStringValue()
Get the value of the contained DateString object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
void |
setDate(LocalDate aValue)
Created by ph-jaxb22-plugin -Xph-offset-dt-extension
|
void |
setDate(com.helger.commons.datetime.XMLOffsetDate value)
Sets the value of the date property.
|
void |
setDateString(DateType.DateString value)
Sets the value of the dateString property.
|
DateType.DateString |
setDateString(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public DateType()
@Nullable public DateType.DateString getDateString()
DateType.DateStringpublic void setDateString(@Nullable DateType.DateString value)
value - allowed object is
DateType.DateString@Nullable public com.helger.commons.datetime.XMLOffsetDate getDate()
Stringpublic void setDate(@Nullable com.helger.commons.datetime.XMLOffsetDate value)
value - allowed object is
Stringpublic boolean equals(Object o)
public int hashCode()
public String toString()
public void cloneTo(@Nonnull DateType ret)
this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2ret - The target object to clone to. May not be null.@Nonnull @ReturnsMutableCopy public DateType clone()
@Nonnull public DateType.DateString setDateString(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getDateStringValue()
null@Nullable public LocalDate getDateLocal()
null.Copyright © 2016–2021 Philip Helger. All rights reserved.