java - How to create a calendar object based on current time plus some seconds -
i wondering if can new calendar object based on current time plus given timespan, 5 minutes.
calendar c = calendar.getinstance(); //gives u calendar current time c.add(calendar.minute, 5); //add 5 minutes calendar
Comments
Post a Comment