uk.ydubey.formatter.numtoword
Class TwoDigitNumberInWordsFormatter

java.lang.Object
  extended by uk.ydubey.formatter.numtoword.NumberFormatter
      extended by uk.ydubey.formatter.numtoword.TwoDigitNumberInWordsFormatter
Direct Known Subclasses:
ThreeDigitNumberInWordsFormatter

public class TwoDigitNumberInWordsFormatter
extends NumberFormatter


Constructor Summary
protected TwoDigitNumberInWordsFormatter()
           
 
Method Summary
static TwoDigitNumberInWordsFormatter getInstance()
           
 int getLimit()
           
protected  String parseAndFormat(int number)
           
 
Methods inherited from class uk.ydubey.formatter.numtoword.NumberFormatter
format, join
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwoDigitNumberInWordsFormatter

protected TwoDigitNumberInWordsFormatter()
Method Detail

getInstance

public static TwoDigitNumberInWordsFormatter getInstance()

getLimit

public int getLimit()
Specified by:
getLimit in class NumberFormatter

parseAndFormat

protected String parseAndFormat(int number)
Specified by:
parseAndFormat in class NumberFormatter


Copyright © 2012. All Rights Reserved.