Class AstronomyEvent
java.lang.Object
com.timeanddate.services.dataTypes.astro.AstronomyEvent
- All Implemented Interfaces:
Comparable<AstronomyEvent>
- Author:
- Cato Auestad <cato@timeanddate.com>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo(AstronomyEvent arg)
static AstronomyEvent
getTime()
Local time at which the event is happeninggetType()
Indicates the type of the event.
-
Field Details
-
_type
-
-
Constructor Details
-
AstronomyEvent
public AstronomyEvent()
-
-
Method Details
-
getType
Indicates the type of the event. -
getTime
Local time at which the event is happening -
fromNode
- Throws:
MalformedXMLException
-
compareTo
- Specified by:
compareTo
in interfaceComparable<AstronomyEvent>
-