Interface LocaleFinder
- All Known Subinterfaces:
Database
- All Known Implementing Classes:
BasicDatabase
,SlaveDatabase
public interface LocaleFinder
A LocaleFinder gets a Locale and things associated with Locales.
-
Method Summary
Modifier and TypeMethodDescriptionGet a formatter for formatting dates.Get a formatter for formatting times.Get a formatter for formatting timestamps.
-
Method Details
-
getCurrentLocale
- Throws:
StandardException
- Thrown on error
-
getDateFormat
Get a formatter for formatting dates. The implementation may cache this value, since it never changes for a given Locale.- Throws:
StandardException
- Thrown on error
-
getTimeFormat
Get a formatter for formatting times. The implementation may cache this value, since it never changes for a given Locale.- Throws:
StandardException
- Thrown on error
-
getTimestampFormat
Get a formatter for formatting timestamps. The implementation may cache this value, since it never changes for a given Locale.- Throws:
StandardException
- Thrown on error
-