public class DateHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.jspringbot.syntax.HighlightRobotLogger |
LOG |
| Constructor and Description |
|---|
DateHelper() |
public void setDateTimeZone(String timeZoneId)
public void setDateTimeFormat(String pattern)
public org.joda.time.DateTime getCurrent()
public org.joda.time.DateTimeZone getCurrentTimeZone()
public String getFormatterPattern()
public Date getUtilDate()
public Date getSQLDate()
public Time getSQLTime()
public Timestamp getSQLTimestamp()
public org.joda.time.DateTime getParseDateTime(String dateStr)
public String formatEpochTimeStamp(String epoch, String format, String timeZoneId)
public void amendDate(String amend)
public String formatDateTime()
public void resetDateTime()
public void plusDays(int days)
public void minusDays(int days)
Copyright © 2018. All rights reserved.