switch date-format to german
This commit is contained in:
parent
6693502d64
commit
ff25c93ef7
@ -4,10 +4,11 @@ import java.text.DateFormat;
|
|||||||
import java.text.ParseException;
|
import java.text.ParseException;
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
import java.util.Locale;
|
||||||
|
|
||||||
public class TextUtil {
|
public class TextUtil {
|
||||||
|
|
||||||
private static final DateFormat df = SimpleDateFormat.getDateInstance(DateFormat.SHORT);
|
private static final DateFormat df = SimpleDateFormat.getDateInstance(DateFormat.SHORT, Locale.GERMAN);
|
||||||
|
|
||||||
public static synchronized String replaceUmlautCharacters(String umlautString) {
|
public static synchronized String replaceUmlautCharacters(String umlautString) {
|
||||||
StringBuffer buffer = new StringBuffer();
|
StringBuffer buffer = new StringBuffer();
|
||||||
|
Loading…
Reference in New Issue
Block a user