gcc/libjava/java/text/DecimalFormatSymbols.h
Tania Bento 618bf37b05 DecimalFormatSymbols.java: Added the year 2007 to Copyright information and introduced new variable, currency.
2007-04-04  Tania Bento  <tbento@redhat.com>

	* java/text/DecimalFormatSymbols.java: Added the year 2007 to
	Copyright information and introduced new variable, currency.
	(DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol
	to "XXX", currencySymbol to "?" and localCurrency appropriately.
	(getCurrency): Fixed documentation and return the value of currency.
	(setCurrency): Fixed documentation and update the value of currency.
	(setInternationalCurrencySymbol): Fixed documentation and update the
	value of currency.
	* java/util/Currency.java: Introduced two new variables, properties
	and fractionDigits. In the static block, a properties object is
	created and the currency resource is loaded.
	(Currency(Locale)): fractionDigits is defined.
	(Currency(String)): New method.
	(getDefaultFractionDigits): Return the value of fractionDigits.
	(getInstance(String)): Check if String is equal to "XXX".

From-SVN: r123512
2007-04-05 00:15:16 +00:00

93 lines
2.6 KiB
C++

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_text_DecimalFormatSymbols__
#define __java_text_DecimalFormatSymbols__
#pragma interface
#include <java/lang/Object.h>
extern "Java"
{
namespace java
{
namespace text
{
class DecimalFormatSymbols;
}
}
}
class java::text::DecimalFormatSymbols : public ::java::lang::Object
{
public:
::java::lang::Object * clone();
DecimalFormatSymbols();
private:
::java::lang::String * safeGetString(::java::util::ResourceBundle *, ::java::lang::String *, ::java::lang::String *);
jchar safeGetChar(::java::util::ResourceBundle *, ::java::lang::String *, jchar);
public:
DecimalFormatSymbols(::java::util::Locale *);
jboolean equals(::java::lang::Object *);
::java::util::Currency * getCurrency();
::java::lang::String * getCurrencySymbol();
jchar getDecimalSeparator();
jchar getDigit();
public: // actually package-private
jchar getExponential();
public:
jchar getGroupingSeparator();
::java::lang::String * getInfinity();
::java::lang::String * getInternationalCurrencySymbol();
jchar getMinusSign();
jchar getMonetaryDecimalSeparator();
::java::lang::String * getNaN();
jchar getPatternSeparator();
jchar getPercent();
jchar getPerMill();
jchar getZeroDigit();
jint hashCode();
void setCurrency(::java::util::Currency *);
void setCurrencySymbol(::java::lang::String *);
void setDecimalSeparator(jchar);
void setDigit(jchar);
public: // actually package-private
void setExponential(jchar);
public:
void setGroupingSeparator(jchar);
void setInfinity(::java::lang::String *);
void setInternationalCurrencySymbol(::java::lang::String *);
void setMinusSign(jchar);
void setMonetaryDecimalSeparator(jchar);
void setNaN(::java::lang::String *);
void setPatternSeparator(jchar);
void setPercent(jchar);
void setPerMill(jchar);
void setZeroDigit(jchar);
private:
void readObject(::java::io::ObjectInputStream *);
::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) currencySymbol;
jchar decimalSeparator;
jchar digit;
jchar exponential;
jchar groupingSeparator;
::java::lang::String * infinity;
::java::lang::String * intlCurrencySymbol;
jchar minusSign;
jchar monetarySeparator;
::java::lang::String * NaN;
jchar patternSeparator;
jchar percent;
jchar perMill;
jint serialVersionOnStream;
jchar zeroDigit;
::java::util::Locale * locale;
::java::util::Currency * currency;
static const jlong serialVersionUID = 5772796243397350300LL;
public:
static ::java::lang::Class class$;
};
#endif // __java_text_DecimalFormatSymbols__