net.charlesames.utility.date
Class DateMethods

java.lang.Object
  extended by net.charlesames.utility.date.DateMethods

public class DateMethods
extends java.lang.Object

Miscellaneous date-manipulation functions

Author:
Charles Ames

Constructor Summary
DateMethods()
           
 
Method Summary
static java.util.Date nextSecondAfterNow()
          Rounds the current date upward to the nearest second.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateMethods

public DateMethods()
Method Detail

nextSecondAfterNow

public static java.util.Date nextSecondAfterNow()
Rounds the current date upward to the nearest second.

Returns:
The upward-rounded date.