Mercurial > projects > dwt2
annotate com.ibm.icu/src/com/ibm/icu/text/DateFormat.d @ 98:48d4ee626868
rm databinding.observable seems to be duplicate, databinding.beans now building
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 22 Apr 2009 07:30:21 +0200 |
parents | ebefa5c2eab4 |
children | 88652073d1c2 |
rev | line source |
---|---|
85 | 1 module com.ibm.icu.text.DateFormat; |
2 | |
3 import java.lang.all; | |
4 import java.text.ParsePosition; | |
5 import java.util.Date; | |
6 | |
98
48d4ee626868
rm databinding.observable seems to be duplicate, databinding.beans now building
Frank Benoit <benoit@tionex.de>
parents:
92
diff
changeset
|
7 import com.ibm.icu.mangoicu.UDateFormat; |
48d4ee626868
rm databinding.observable seems to be duplicate, databinding.beans now building
Frank Benoit <benoit@tionex.de>
parents:
92
diff
changeset
|
8 |
85 | 9 public class DateFormat { |
10 | |
98
48d4ee626868
rm databinding.observable seems to be duplicate, databinding.beans now building
Frank Benoit <benoit@tionex.de>
parents:
92
diff
changeset
|
11 public static const int LONG = UDateFormat.Style.Long; |
48d4ee626868
rm databinding.observable seems to be duplicate, databinding.beans now building
Frank Benoit <benoit@tionex.de>
parents:
92
diff
changeset
|
12 public static const int FULL = UDateFormat.Style.Full; |
48d4ee626868
rm databinding.observable seems to be duplicate, databinding.beans now building
Frank Benoit <benoit@tionex.de>
parents:
92
diff
changeset
|
13 public static const int SHORT = UDateFormat.Style.Short; |
48d4ee626868
rm databinding.observable seems to be duplicate, databinding.beans now building
Frank Benoit <benoit@tionex.de>
parents:
92
diff
changeset
|
14 public static const int MEDIUM = UDateFormat.Style.Medium; |
85 | 15 |
16 public static DateFormat getDateInstance() { | |
92
ebefa5c2eab4
moving ICU bindings to com.ibm.icu
Frank Benoit <benoit@tionex.de>
parents:
85
diff
changeset
|
17 implMissing(__FILE__, __LINE__); |
85 | 18 return null; |
19 } | |
20 | |
21 public String format(Date date) { | |
92
ebefa5c2eab4
moving ICU bindings to com.ibm.icu
Frank Benoit <benoit@tionex.de>
parents:
85
diff
changeset
|
22 implMissing(__FILE__, __LINE__); |
85 | 23 return null; |
24 } | |
25 | |
26 public static DateFormat getTimeInstance() { | |
92
ebefa5c2eab4
moving ICU bindings to com.ibm.icu
Frank Benoit <benoit@tionex.de>
parents:
85
diff
changeset
|
27 implMissing(__FILE__, __LINE__); |
85 | 28 return null; |
29 } | |
30 | |
31 public static DateFormat getDateTimeInstance(int l, int m) { | |
92
ebefa5c2eab4
moving ICU bindings to com.ibm.icu
Frank Benoit <benoit@tionex.de>
parents:
85
diff
changeset
|
32 implMissing(__FILE__, __LINE__); |
85 | 33 return null; |
34 } | |
35 | |
36 public static DateFormat getTimeInstance(int s) { | |
92
ebefa5c2eab4
moving ICU bindings to com.ibm.icu
Frank Benoit <benoit@tionex.de>
parents:
85
diff
changeset
|
37 implMissing(__FILE__, __LINE__); |
85 | 38 return null; |
39 } | |
40 | |
41 public static DateFormat getDateInstance(int dateFormat) { | |
92
ebefa5c2eab4
moving ICU bindings to com.ibm.icu
Frank Benoit <benoit@tionex.de>
parents:
85
diff
changeset
|
42 implMissing(__FILE__, __LINE__); |
85 | 43 return null; |
44 } | |
45 | |
46 public Date parse(String str, ParsePosition pos) { | |
92
ebefa5c2eab4
moving ICU bindings to com.ibm.icu
Frank Benoit <benoit@tionex.de>
parents:
85
diff
changeset
|
47 implMissing(__FILE__, __LINE__); |
85 | 48 return null; |
49 } | |
50 | |
51 public String format(Long long2) { | |
92
ebefa5c2eab4
moving ICU bindings to com.ibm.icu
Frank Benoit <benoit@tionex.de>
parents:
85
diff
changeset
|
52 implMissing(__FILE__, __LINE__); |
85 | 53 return null; |
54 } | |
55 | |
56 } | |
57 | |
58 |