|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gedcomx.date.GedcomxDate
org.gedcomx.date.GedcomxDateApproximate
public class GedcomxDateApproximate
An Approximate Date
| Constructor Summary | |
|---|---|
GedcomxDateApproximate(String date)
Instantiate a new approximate date |
|
| Method Summary | |
|---|---|
Integer |
getDay()
Get the day |
Integer |
getHours()
Get the hours |
Integer |
getMinutes()
Get the minutes |
Integer |
getMonth()
Get the month |
Integer |
getSeconds()
Get the seconds |
GedcomxDateSimple |
getSimpleDate()
Return the underlying simple date |
GedcomxDateType |
getType()
The type of this date |
Integer |
getTzHours()
Get the timezone hours |
Integer |
getTzMinutes()
Get the timezone minutes |
Integer |
getYear()
Get the year |
boolean |
isApproximate()
Whether or not this date is approximate |
String |
toFormalString()
Returns the formal representation of this date |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GedcomxDateApproximate(String date)
date - The formal date string| Method Detail |
|---|
public GedcomxDateSimple getSimpleDate()
public GedcomxDateType getType()
getType in class GedcomxDatepublic boolean isApproximate()
isApproximate in class GedcomxDatepublic String toFormalString()
toFormalString in class GedcomxDatepublic Integer getYear()
public Integer getMonth()
public Integer getDay()
public Integer getHours()
public Integer getMinutes()
public Integer getSeconds()
public Integer getTzHours()
public Integer getTzMinutes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||