+ static UBool isICUVersionBefore(int major, int minor) {
+ return isICUVersionBefore(major, minor, 0);
+ }
+
+ /**
+ * Returns true if u_getVersion() < major.minor.milli.
+ */
+ static UBool isICUVersionBefore(int major, int minor, int milli);
+
+ /**
+ * Returns true if u_getVersion() >= major.minor.
+ */
+ static UBool isICUVersionAtLeast(int major, int minor) {
+ return isICUVersionAtLeast(major, minor, 0);
+ }
+
+ /**
+ * Returns true if u_getVersion() >= major.minor.milli.
+ */
+ static UBool isICUVersionAtLeast(int major, int minor, int milli) {
+ return !isICUVersionBefore(major, minor, milli);
+ }
+
+ enum { kMaxProps = 16 };
+
+ virtual void setProperty(const char* propline);
+ virtual const char* getProperty(const char* prop);