Field ERA
Field type: int
Member of:
java.util.Calendar
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
if (calendar.get(Calendar.ERA) == GregorianCalendar.BC) {
2
if (calendar.get(Calendar.ERA) == GregorianCalendar.BC) {
3
int offset = TimeZone.getDefault().getOffset(gregCal.get(Calendar.ERA), gregCal.get(Calendar.YEAR),
4
offset = tz.getOffset (gc.get (Calendar.ERA),
5
calendar.set(Calendar.ERA, GregorianCalendar.BC);
6
calendar.set(Calendar.ERA, GregorianCalendar.BC);
7
rule = new TextField(Calendar.ERA, ERAs);
8
rule = new TextField(Calendar.ERA, ERAs);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.