クラス DateTimeUtils
java.lang.Object
org.nkjmlab.util.java.time.DateTimeUtils
-
フィールドの概要
修飾子とタイプフィールド説明static final DateTimeFormatter
static final DateTimeFormatter
static final DateTimeFormatter
static final DateTimeFormatter
static final DateTimeFormatter
static final DateTimeFormatter
static final DateTimeFormatter
-
コンストラクタの概要
-
メソッドの概要
修飾子とタイプメソッド説明static String
static String
static String
static String
getDayOfWeekInJapanese
(int dayOfWeek) static String
static String
static String
static LocalDateTime
static LocalDateTime
parse
(DateTimeFormatter formatter, String timestamp) static LocalDate
static LocalDateTime
parseGoogleSpreadsheetDateTimeString
(String dateTime) static LocalDateTime
parseH2TimestampString
(String timestamp) static LocalDateTime
parseTimestampString
(String timestamp) static LocalDate
parseToLocalDate
(String format, String date) static LocalDate
parseToLocalDate
(DateTimeFormatter formatter, String date) static LocalDateTime
parseUtilDateString
(String dateTime) static Date
static Date
toDate
(LocalDateTime localDateTime) static Date
static long
toEpochMilli
(LocalDateTime localDateTime) static LocalDateTime
toLocalDateTime
(long epochMilli) static LocalDateTime
toLocalDateTime
(Date date) static Date
static Timestamp
toTimestamp
(LocalDateTime date) static Timestamp
toTimestamp
(Date date) static ZonedDateTime
toZonedDateTime
(LocalDateTime localDateTime) static ZonedDateTime
toZonedDateTime
(Date date)
-
フィールド詳細
-
EXCEL_DEFAULT_DATE_FORMATTER
-
GOOGLE_SPREADSHEET_DEFAULT_DATE_FORMATTER
-
GOOGLE_SPREADSHEET_DEFAULT_DATE_TIME_FORMATTER
-
H2_TIMESTAMP_FORMATTTER
-
TIMESTAMP_FORMATTTER
-
HYPHENATED_TIMESTAMP_FORMATTTER
-
UTIL_DATE_FORMATTER
-
-
コンストラクタの詳細
-
DateTimeUtils
public DateTimeUtils()
-
-
メソッドの詳細
-
parseGoogleSpreadsheetDateString
- パラメータ:
date
-- 戻り値:
-
parseGoogleSpreadsheetDateTimeString
- パラメータ:
dateTime
-- 戻り値:
-
parseH2TimestampString
- パラメータ:
timestamp
-- 戻り値:
-
parseTimestampString
-
parseUtilDateString
- 戻り値:
-
parse
-
parse
-
parseToLocalDate
-
parseToLocalDate
-
toDate
-
toZonedDateTime
-
toDate
-
toDate
-
toLocalDateTime
-
toLocalDateTime
-
toZonedDateTime
-
toTimestamp
-
toTimestamp
-
formatToIsoLocalDate
-
formatToIsoLocalDateTime
-
formatToHyphenatedTimestamp
-
toSqlDate
-
nowFormattedAsIsoLocalDateTime
-
nowFormattedAsHyphenatedTimestamp
-
getDayOfWeekInJapanese
-
getDayOfWeekInJapanese
-
toEpochMilli
-