Search
DateTime Constructor
See Also
 






Initializes a new instance of the DateTime class with the specified values.

Namespace: com.mindfusion.common
File: com.mindfusion.common

 Syntax

Java  Copy Code

public DateTime (
    int year,
    int month,
    int day,
    int hour,
    int minute,
    int second
)

 Parameters

year

The year component of the new date.

month

The month component of the new date.

day

The day component of the new date.

hour

The hour component of the new date.

minute

The minute component of the new date.

second

The second component of the new date.

 See Also