Mercurial > projects > dwt2
comparison java/src/java/mangoicu/UTimeZone.d @ 21:9b96950f2c3c
the 'java' tree compiles on both D1-Tango and D2-Phobos
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 19 Mar 2009 20:38:55 +0100 |
parents | dbfb303e8fb0 |
children |
comparison
equal
deleted
inserted
replaced
20:dccb717aa902 | 21:9b96950f2c3c |
---|---|
85 module java.mangoicu.UTimeZone; | 85 module java.mangoicu.UTimeZone; |
86 | 86 |
87 private import java.mangoicu.ICU, | 87 private import java.mangoicu.ICU, |
88 java.mangoicu.UString, | 88 java.mangoicu.UString, |
89 java.mangoicu.UEnumeration; | 89 java.mangoicu.UEnumeration; |
90 private import java.lang.util; | |
90 | 91 |
91 /******************************************************************************* | 92 /******************************************************************************* |
92 | 93 |
93 A representation of a TimeZone. Unfortunately, ICU does not expose | 94 A representation of a TimeZone. Unfortunately, ICU does not expose |
94 this as a seperate entity from the C-API, so we have to make do | 95 this as a seperate entity from the C-API, so we have to make do |
96 | 97 |
97 *******************************************************************************/ | 98 *******************************************************************************/ |
98 | 99 |
99 struct UTimeZone | 100 struct UTimeZone |
100 { | 101 { |
101 public wchar[] name; | 102 public CString16 name; |
102 | 103 |
103 public static UTimeZone Default = {null}; | 104 public static UTimeZone Default = {null}; |
104 public static UTimeZone Gmt = {"Etc/GMT"}; | 105 public static UTimeZone Gmt = {"Etc/GMT"}; |
105 public static UTimeZone Greenwich = {"Etc/Greenwich"}; | 106 public static UTimeZone Greenwich = {"Etc/Greenwich"}; |
106 public static UTimeZone Uct = {"Etc/UCT"}; | 107 public static UTimeZone Uct = {"Etc/UCT"}; |