Can we pass a long value in Java such that it adds only seconds in the following code:
Calendar calendar= Calendar.getInstance();
calendar.add(Calendar.MINUTE, (int) **SomeLongValue**);
Where SomeLongValue adds only seconds to the calendar object.
I cannot change the code. I have to pass a long value and increase calendar
only by seconds.