KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'd like to use a Calendar for some static methods and use a static field: private static Calendar calendar = Calendar.getInstance(); Now I read java.util.Calendar isn't thread safe. How can I make this thread safe (it should be static )?
Tags (comma-separated)
Save Edits
Cancel