coz call getInstance() static method is the only way to get calendar's
instance.

but the constructor of Calendar  is not "private",  so we can create
2+ calendar instances??

It's seems not singleton pattern.

ref: http://developer.android.com/reference/java/util/Calendar.html

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to