MindFusion.Java Package Programmer's Guide
DateTime.addHours Method (Int64)
See Also
 






Returns a new DateTime that adds the specified number of hours to this instance.

Namespace: com.mindfusion.common
Package: com.mindfusion.common

 Syntax

Java  Copy Code

public DateTime addHours (
    long value
)

 Parameters

value

The number of hours to add. The value parameter can be negative or positive.

 Return Value

A DateTime whose value is the sum of the date and time represented by this instance and the number of hours represented by value.

 See Also

addHours Method Overload List
DateTime Members
DateTime Class
com.mindfusion.common Namespace