public class DBFluteSystem extends Object
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected static DfCurrentDateProvider |
_currentDateProvider
The provider of current date for DBFlute system.
|
protected static DfFinalLocaleProvider |
_finalLocaleProvider
The provider of final default locale for DBFlute system.
|
protected static DfFinalTimeZoneProvider |
_finalTimeZoneProvider
The provider of final default time-zone for DBFlute system.
|
protected static boolean |
_locked
Is this system adjustment locked?
|
| コンストラクタと説明 |
|---|
DBFluteSystem() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected static void |
assertUnlocked() |
static Date |
currentDate()
Get current date.
|
static LocalDate |
currentLocalDate()
Get current local date.
|
static LocalDateTime |
currentLocalDateTime()
Get current local date-time.
|
static long |
currentTimeMillis()
Get current date as milliseconds.
|
static Timestamp |
currentTimestamp()
Get current time-stamp.
|
static ZonedDateTime |
currentZonedDateTime()
Get current zoned date-time.
|
static Locale |
getFinalLocale()
Get the final default locale for DBFlute system.
|
static TimeZone |
getFinalTimeZone()
Get the final default time-zone for DBFlute system.
|
static boolean |
hasCurrentDateProvider() |
static boolean |
hasFinalLocaleProvider() |
static boolean |
hasFinalTimeZoneProvider() |
static boolean |
isLocked() |
static String |
ln()
Get basic line separator for DBFlute process.
|
static void |
lock() |
static void |
setCurrentDateProvider(DfCurrentDateProvider currentDateProvider) |
static void |
setFinalLocaleProvider(DfFinalLocaleProvider finalLocaleProvider) |
static void |
setFinalTimeZoneProvider(DfFinalTimeZoneProvider finalTimeZoneProvider) |
static void |
unlock() |
protected static DfCurrentDateProvider _currentDateProvider
protected static DfFinalLocaleProvider _finalLocaleProvider
protected static DfFinalTimeZoneProvider _finalTimeZoneProvider
protected static boolean _locked
public static LocalDate currentLocalDate()
public static LocalDateTime currentLocalDateTime()
public static ZonedDateTime currentZonedDateTime()
public static Date currentDate()
public static Timestamp currentTimestamp()
public static long currentTimeMillis()
public static Locale getFinalLocale()
public static TimeZone getFinalTimeZone()
public static String ln()
public static boolean hasCurrentDateProvider()
public static void setCurrentDateProvider(DfCurrentDateProvider currentDateProvider)
public static boolean hasFinalLocaleProvider()
public static void setFinalLocaleProvider(DfFinalLocaleProvider finalLocaleProvider)
public static boolean hasFinalTimeZoneProvider()
public static void setFinalTimeZoneProvider(DfFinalTimeZoneProvider finalTimeZoneProvider)
public static void lock()
public static void unlock()
public static boolean isLocked()
protected static void assertUnlocked()
Copyright © 2014–2015 The DBFlute Project. All rights reserved.