public abstract class Defaults extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CRON_EVERY_30_SECONDS |
static org.joda.time.DateTime |
EPOCH |
static org.joda.time.format.DateTimeFormatter |
ISO8601 |
static String |
PATTERN_JAVA_ISO8601
see: http://stackoverflow.com/questions/15245307/java-simpledateformat-timezone-offset-with-minute-separated-by-colon
You can get the timezone offset formatted like +08:00
with the SimpleDateFormat in Java 7 (yyyy-MM-dd'T'HH:mm:ss.SSSXXX)
with the Joda's DateTimeFormat (yyyy-MM-dd'T'HH:mm:ss.SSSZZ)
|
static String |
PATTERN_JODA_ISO8601 |
static org.joda.time.DateTimeZone |
UTC_P8 |
static Charset |
UTF_8 |
static org.joda.time.format.DateTimeFormatter |
yyyyMMdd_HHmmss |
Modifier and Type | Method and Description |
---|---|
static Integer |
minutesSinceEpoch(org.joda.time.DateTime dateTime) |
static org.joda.time.DateTime |
now() |
public static final Charset UTF_8
public static final String CRON_EVERY_30_SECONDS
public static final org.joda.time.DateTimeZone UTC_P8
public static final org.joda.time.DateTime EPOCH
public static final org.joda.time.format.DateTimeFormatter yyyyMMdd_HHmmss
public static final org.joda.time.format.DateTimeFormatter ISO8601
public static final String PATTERN_JAVA_ISO8601
public static final String PATTERN_JODA_ISO8601
public static org.joda.time.DateTime now()
public static Integer minutesSinceEpoch(org.joda.time.DateTime dateTime)
Copyright © 2017. All rights reserved.