Top Constructors Methods
com.rometools.utils

public final Class Dates

extends Object
Class Inheritance
Imports
java.util.Date

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Date

Returns:

null when the input Date was null, a copy of the Date otherwise
copy
(final Date
The Date to copy, can be null
d
)

Creates a copy on a Date.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Datesback to summary
private Dates()

Method Detail

copyback to summary
public static Date copy(final Date d)

Creates a copy on a Date.

Parameters
d:Date

The Date to copy, can be null

Returns:Date

null when the input Date was null, a copy of the Date otherwise