KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Calendar's add method in Java takes an integer as an input int secs = 3; cal.add(Calendar.SECOND, secs); But what if the seconds are Long type. long secs = 3 There's quite a few possibilities like adding the seconds iterative, but what are the other options?
Tags (comma-separated)
Save Edits
Cancel