[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
java.text.DecimalFormat
From: |
John Leuner |
Subject: |
java.text.DecimalFormat |
Date: |
Fri, 13 Jul 2001 17:36:13 +0000 |
User-agent: |
Mutt/1.3.15i |
I have added a skeleton version of DecimalFormat to allow MessageFormat to
compile.
2001-07-13 John Leuner <address@hidden>
* java/text/DecimalFormat.java: Added a skeleton (ie non-working
and incomplete) version to allow MessageFormat to compile.
/** This is a skeleton (ie incomplete and non-working) implementation of
DecimalFormat
* to allow MessageFormat to compile.
*
*
* @version 0.0
*
* @author John Leuner (address@hidden)
*/
package java.text;
public class DecimalFormat extends NumberFormat
{
public StringBuffer format(long number, StringBuffer sb, FieldPosition pos)
{
System.err.println("Warning, DecimalFormat is broken");
return null;
}
public StringBuffer format(double number, StringBuffer sb, FieldPosition pos)
{
System.err.println("Warning, DecimalFormat is broken");
return null;
}
public Number parse(String str, ParsePosition pp)
{
System.err.println("Warning, DecimalFormat is broken");
return null;
}
public StringBuffer format(Object obj, StringBuffer sb, FieldPosition pos)
throws IllegalArgumentException
{
throw new IllegalArgumentException("Warning, DecimalFormat is broken");
}
public void applyPattern(String style)
{
System.err.println("Warning, DecimalFormat is broken");
}
}
John Leuner
- java.text.DecimalFormat,
John Leuner <=