Search in sources :

Example 1 with BoundDateDisplayTimeZoneProvider

use of org.dbflute.twowaysql.style.BoundDateDisplayTimeZoneProvider in project dbflute-core by dbflute.

the class AbstractConditionBean method createConfiguredBoundDateDisplayStyle.

protected BoundDateDisplayStyle createConfiguredBoundDateDisplayStyle() {
    final String datePattern = getConfiguredLogDatePattern();
    final String timestampPattern = getConfiguredLogTimestampPattern();
    final String timePattern = getConfiguredLogTimePattern();
    final BoundDateDisplayTimeZoneProvider timeZoneProvider = getConfiguredLogTimeZoneProvider();
    return new BoundDateDisplayStyle(datePattern, timestampPattern, timePattern, timeZoneProvider);
}
Also used : BoundDateDisplayTimeZoneProvider(org.dbflute.twowaysql.style.BoundDateDisplayTimeZoneProvider) BoundDateDisplayStyle(org.dbflute.twowaysql.style.BoundDateDisplayStyle)

Example 2 with BoundDateDisplayTimeZoneProvider

use of org.dbflute.twowaysql.style.BoundDateDisplayTimeZoneProvider in project dbflute-core by dbflute.

the class TnAbstractBasicSqlHandler method createResourcedLogDateDisplayStyle.

protected BoundDateDisplayStyle createResourcedLogDateDisplayStyle() {
    final String datePattern = ResourceContext.getLogDatePattern();
    final String iimestampPattern = ResourceContext.getLogTimestampPattern();
    final String timePattern = ResourceContext.getLogTimePattern();
    final BoundDateDisplayTimeZoneProvider timeZoneProvider = ResourceContext.getLogTimeZoneProvider();
    return new BoundDateDisplayStyle(datePattern, iimestampPattern, timePattern, timeZoneProvider);
}
Also used : BoundDateDisplayTimeZoneProvider(org.dbflute.twowaysql.style.BoundDateDisplayTimeZoneProvider) BoundDateDisplayStyle(org.dbflute.twowaysql.style.BoundDateDisplayStyle)

Aggregations

BoundDateDisplayStyle (org.dbflute.twowaysql.style.BoundDateDisplayStyle)2 BoundDateDisplayTimeZoneProvider (org.dbflute.twowaysql.style.BoundDateDisplayTimeZoneProvider)2