1 30 31 34 package com.nightlabs.l10n; 35 36 import java.text.DateFormat ; 37 38 import com.nightlabs.config.Config; 39 40 44 public interface DateFormatProvider 45 { 46 54 public void init(Config config, String isoLanguage, String isoCountry); 55 56 public static final long DATE = 0x000001L; 57 public static final long DATE_LONG = 0x000002L | DATE; 58 public static final long DATE_SHORT = 0x000004L | DATE; 59 public static final long DATE_WEEKDAY = 0x000008L | DATE; 60 61 public static final long TIME = 0x100000L; 62 public static final long TIME_SEC = 0x200000L | TIME; 63 public static final long TIME_MSEC = 0x400000L | TIME_SEC; 64 65 73 public DateFormat getDateFormat(long flags); 74 } 75 | Popular Tags |