DateFormatSymbols.h 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_text_DateFormatSymbols__
  3. #define __java_text_DateFormatSymbols__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace text
  12. {
  13. class DateFormatSymbols;
  14. class DateFormatSymbols$DFSData;
  15. }
  16. }
  17. }
  18. class java::text::DateFormatSymbols : public ::java::lang::Object
  19. {
  20. static JArray< ::java::lang::String * > * getStringArray(::java::util::List *, ::java::lang::String *, jint);
  21. static JArray< ::java::lang::String * > * getStringArray(::java::util::List *, ::java::lang::String *, jint, JArray< ::java::lang::String * > *);
  22. static JArray< JArray< ::java::lang::String * > * > * getZoneStrings(::java::util::List *, ::java::util::Locale *);
  23. static JArray< ::java::lang::String * > * formatsForKey(::java::util::List *, ::java::lang::String *);
  24. static ::java::lang::String * getString(::java::util::List *, ::java::lang::String *);
  25. static ::java::text::DateFormatSymbols$DFSData * retrieveData(::java::util::Locale *);
  26. public:
  27. DateFormatSymbols(::java::util::Locale *);
  28. DateFormatSymbols();
  29. virtual JArray< ::java::lang::String * > * getAmPmStrings();
  30. virtual JArray< ::java::lang::String * > * getEras();
  31. virtual ::java::lang::String * getLocalPatternChars();
  32. virtual JArray< ::java::lang::String * > * getMonths();
  33. virtual JArray< ::java::lang::String * > * getShortMonths();
  34. virtual JArray< ::java::lang::String * > * getShortWeekdays();
  35. virtual JArray< ::java::lang::String * > * getWeekdays();
  36. virtual JArray< JArray< ::java::lang::String * > * > * getZoneStrings();
  37. virtual void setAmPmStrings(JArray< ::java::lang::String * > *);
  38. virtual void setEras(JArray< ::java::lang::String * > *);
  39. virtual void setLocalPatternChars(::java::lang::String *);
  40. virtual void setMonths(JArray< ::java::lang::String * > *);
  41. virtual void setShortMonths(JArray< ::java::lang::String * > *);
  42. virtual void setShortWeekdays(JArray< ::java::lang::String * > *);
  43. virtual void setWeekdays(JArray< ::java::lang::String * > *);
  44. virtual void setZoneStrings(JArray< JArray< ::java::lang::String * > * > *);
  45. private:
  46. static jboolean equals(::java::lang::Object *, ::java::lang::Object *);
  47. static jint hashCode(::java::lang::Object *);
  48. public:
  49. virtual jboolean equals(::java::lang::Object *);
  50. virtual ::java::lang::Object * clone();
  51. virtual jint hashCode();
  52. static ::java::text::DateFormatSymbols * getInstance();
  53. static ::java::text::DateFormatSymbols * getInstance(::java::util::Locale *);
  54. private:
  55. static ::java::util::Properties * properties;
  56. static ::java::util::regex::Pattern * ZONE_SEP;
  57. static ::java::util::regex::Pattern * FIELD_SEP;
  58. static ::java::util::concurrent::ConcurrentMap * dataCache;
  59. public: // actually package-private
  60. JArray< ::java::lang::String * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) ampms;
  61. JArray< ::java::lang::String * > * eras;
  62. private:
  63. ::java::lang::String * localPatternChars;
  64. public: // actually package-private
  65. JArray< ::java::lang::String * > * months;
  66. JArray< ::java::lang::String * > * shortMonths;
  67. JArray< ::java::lang::String * > * shortWeekdays;
  68. JArray< ::java::lang::String * > * weekdays;
  69. private:
  70. JArray< JArray< ::java::lang::String * > * > * runtimeZoneStrings;
  71. JArray< JArray< ::java::lang::String * > * > * zoneStrings;
  72. static const jlong serialVersionUID = -5987973545549424702LL;
  73. static JArray< ::java::lang::String * > * formatPrefixes;
  74. public: // actually package-private
  75. JArray< ::java::lang::String * > * dateFormats;
  76. JArray< ::java::lang::String * > * timeFormats;
  77. public:
  78. static ::java::lang::Class class$;
  79. };
  80. #endif // __java_text_DateFormatSymbols__