nn::fnd::DateTime::FromParameters Member Function

Syntax

#include <nn/fnd.h>

static DateTime FromParameters(
     s32 year,
     s32 month,
     s32 day,
     s32 hour = 0,
     s32 minute = 0,
     s32 second = 0,
     s32 millisecond = 0
);

static DateTime FromParameters(
     const DateTimeParameters & dateTimeParameters
);

List of Overloaded Member Functions

FromParameters(s32, s32, s32, s32, s32, s32, s32) Generates a DateTime object from a year, month, day, hour, minute, and second value.
FromParameters(const DateTimeParameters &) Generates a DateTime object from a year, month, day, hour, minute, and second value.

Description of FromParameters(s32, s32, s32, s32, s32, s32, s32)

Specify a valid calendar date/time. The results are indeterminate if an invalid date is specified. You can use IsValidParameters to check whether the specified date/time is valid.

Description of FromParameters(const DateTimeParameters &)

The day of the week is ignored if specified using the DateTimeParameters argument.

Specify a valid calendar date/time. The results are indeterminate if an invalid date is specified. You can use IsValidParameters to check whether the specified date/time is valid.


CONFIDENTIAL