public class Format extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DATE_FORMAT |
static TimeZone |
DEFAULT_TIME_ZONE
Default time zone is UTC (+00:00) so that comparing timestamped logs from different
sources is an easier task.
|
static String |
TIME_FORMAT |
Modifier and Type | Method and Description |
---|---|
static String |
bytes(long bytes) |
static String |
date() |
static String |
date(Date date) |
static String |
date(Date date,
TimeZone timeZone) |
static String |
date(long millis) |
static String |
date(long millis,
TimeZone timeZone) |
static String |
date(TimeZone timeZone) |
static String |
time() |
static String |
time(Date date) |
static String |
time(Date date,
TimeZone timeZone) |
static String |
time(long millis) |
static String |
time(long millis,
TimeZone timeZone) |
static String |
time(TimeZone timeZone) |
public static final String DATE_FORMAT
public static final String TIME_FORMAT
public static final TimeZone DEFAULT_TIME_ZONE
Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.