protected:
// Return true if the given status indicates failure. Also has the side effect
// of calling errln(). Msg should be of the form "Class::Method" in general.
protected:
// Return true if the given status indicates failure. Also has the side effect
// of calling errln(). Msg should be of the form "Class::Method" in general.
// Utility method for formatting dates for printing; useful for Java->C++ conversion.
// Tries to mimic the Java Date.toString() format.
UnicodeString dateToString(UDate d);
UnicodeString& dateToString(UDate d, UnicodeString& str);
// Utility method for formatting dates for printing; useful for Java->C++ conversion.
// Tries to mimic the Java Date.toString() format.
UnicodeString dateToString(UDate d);
UnicodeString& dateToString(UDate d, UnicodeString& str);
// Utility methods to create a date. This is useful for converting Java constructs
// which create a Date object. Returns a Date in the current local time.
// Utility methods to create a date. This is useful for converting Java constructs
// which create a Date object. Returns a Date in the current local time.