|
jET |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--prv.doman.util.DegreeFormatSymbols
Defines special symbols for degree format under specified locale.
Constructor Summary | |
DegreeFormatSymbols()
Creates instance of degree format symbols with default locale. |
|
DegreeFormatSymbols(java.util.Locale locale)
Creates instance of degree format symbols with specified locale. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Checks if symbols matches together. |
char |
getDecimalSeparator()
Gets decimal separator. |
char |
getDegree()
Gets degree symbol. |
char |
getMinute()
Gets minute symbol. |
char |
getSecond()
Gets the second symbol. |
int |
hashCode()
Rehashes object. |
void |
setDecimalSeparator(char ch)
Sets decimal separator. |
void |
setDegree(char ch)
Sets degree symbol. |
void |
setMinute(char ch)
Sets minute symbol. |
void |
setSecond(char ch)
Sets the second symbol. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DegreeFormatSymbols()
public DegreeFormatSymbols(java.util.Locale locale)
locale
- Locale.Method Detail |
public void setDecimalSeparator(char ch)
ch
- Character to be used as decimal separator.public char getDecimalSeparator()
public void setDegree(char ch)
ch
- Character to be used as degree symbol.public char getDegree()
This method is not locale dependent. The default value is Unicode
symbol Degree Sign °
(\u00B0).
public void setMinute(char ch)
ch
- Character to be used as minute symbol.public char getMinute()
This method is not locale dependent. The default symbol for this is Unicode
Prime ′
(\u2032).
public void setSecond(char ch)
ch
- Character to be used for second symbol.public char getSecond()
The method is not locale dependent. The default value for this is Unicode
Double Prime symbol ″
(\u2033).
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
jET |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |