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 |
count(long count) |
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 |
duration(long durationMillis) |
static String |
duration(long durationMillis,
TimeUnit highestGranularity,
TimeUnit lowestGranularity) |
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 TimeZone DEFAULT_TIME_ZONE
public static final String DATE_FORMAT
public static final String TIME_FORMAT
public static String date()
public static String date(long millis)
public static String time()
public static String time(long millis)
public static String bytes(long bytes)
public static String count(long count)
public static String duration(long durationMillis)
Copyright © 2002–2019 The Neo4j Graph Database Project. All rights reserved.