|
ElegantJCharts Java API Specification v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.elegantj.common.ALScalendarFormat
Represents analysis calendar format Yy western calendar year (front zero 2 columns) y western calendar year (2 columns) yyyy western calendar year (front zero 4 columns) mm month (front zero 2 columns) * m month (2 columns) dd day (front zero 2 columns) * d day (2 columns) HH 24 hour system time (front zero 2 columns) H 24 hour system time (2 columns) hh 12 hour system time (front zero 2 columns) h 12 hour system time (2 columns) MM amount (front zero 2 columns) M amount (2 columns) SS second (front zero 2 columns) S second (2 columns) ggg Chinese character 2 letter harmony calendar year number (Showa and Heisei etc.) gg Chinese character 1 letter harmony calendar year number (Showa, equality) g English letter 1 letter harmony calendar year number (S, H and the like) ee harmony calendar year (the front zero 2 columns) e harmony calendar year (2 columns) the aa 12 hour system time Kohumi letter (2 columns) a 12 hour system time Kohumi letter (1 column) pp 12 hour system time capital letter (2 columns) p 12 hour system time capital letter (1 column) A 12 hour system time Japanese letter (2 columns) ww English day of the week (all word) w English day of the week (shortly word) WW Japanese day of the week ("day of the week" to be attached) W Japanese day of the week ("day of the week")
| Field Summary | |
protected char[] |
form
It is control pattern. |
protected int |
formNum
It is decoration number of control pattern. |
static int |
FULLSIZE_MATH
|
protected java.lang.String |
originalFormat
It is the format descriptor which it appoints. |
protected boolean |
useWareki
The harmony calendar will be done, it is the appointment whether or not it is of. |
| Constructor Summary | |
ALScalendarFormat(java.lang.String str)
Creates object |
|
| Method Summary | |
java.lang.Object |
clone()
Clone of the object |
boolean |
formAnalize(java.lang.String str,
int num,
int cnt,
char type,
char oldChar)
Pattern is formed from the format descriptor. |
java.lang.String |
format(java.util.Calendar date)
Formats date object |
java.lang.String |
format(java.util.Date date)
Creates object |
boolean |
isHeisei(int iYear,
int iMonth,
int iDate)
You verify the harmony calendar. |
boolean |
setForm(int cnt,
char type,
char chr)
Patern is formed |
java.lang.String |
toPattern()
return pattern |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected char[] form
protected int formNum
protected java.lang.String originalFormat
protected boolean useWareki
public static final int FULLSIZE_MATH
| Constructor Detail |
public ALScalendarFormat(java.lang.String str)
str - | Method Detail |
public java.lang.String format(java.util.Date date)
date - public java.lang.String format(java.util.Calendar date)
date - date object
public boolean formAnalize(java.lang.String str,
int num,
int cnt,
char type,
char oldChar)
str - datenum - cnt - type - oldChar -
public boolean setForm(int cnt,
char type,
char chr)
cnt - type - chr -
public boolean isHeisei(int iYear,
int iMonth,
int iDate)
iYear - western calendar yeariMonth - monthiDate - day
public java.lang.String toPattern()
public java.lang.Object clone()
clone in class java.lang.Objectjava.lang.RuntimeException - When failing in the clone, it occurs.
|
ElegantJCharts Java API Specification v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||