public class EventParser extends Object implements SherdogParser<Event>
Constructor and Description |
---|
EventParser()
Creates an event parser with the default zone id
|
EventParser(java.time.ZoneId zoneId)
Setting a zoneId will convert the dates to the desired zone id
|
Modifier and Type | Method and Description |
---|---|
Event |
parseDocument(org.jsoup.nodes.Document doc)
parses an event from a jsoup document
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
parse, parseFromHtml
public EventParser(java.time.ZoneId zoneId)
zoneId
- specified zone id for time conversionpublic EventParser()
public Event parseDocument(org.jsoup.nodes.Document doc)
parseDocument
in interface SherdogParser<Event>
doc
- the jsoup documentCopyright © 2019. All rights reserved.