Noda Time
FromUtc Method (year, monthOfYear, dayOfMonth, hourOfDay, minuteOfHour)
NamespacesNodaTimeInstantFromUtc(Int32, Int32, Int32, Int32, Int32)

[This is preliminary documentation and is subject to change.]

Returns a new instant corresponding to the given UTC date and time in the ISO calendar. In most cases applications should use ZonedDateTime to represent a date and time, but this method is useful in some situations where an Instant is required, such as time zone testing.
Declaration Syntax
C#Visual BasicVisual C++
public static Instant FromUtc(
	int year,
	int monthOfYear,
	int dayOfMonth,
	int hourOfDay,
	int minuteOfHour
)
Public Shared Function FromUtc ( _
	year As Integer, _
	monthOfYear As Integer, _
	dayOfMonth As Integer, _
	hourOfDay As Integer, _
	minuteOfHour As Integer _
) As Instant
public:
static Instant FromUtc(
	int year, 
	int monthOfYear, 
	int dayOfMonth, 
	int hourOfDay, 
	int minuteOfHour
)
Parameters
year (Int32)
The year. This is the "absolute year", so a value of 0 means 1 BC, for example.
monthOfYear (Int32)
The month of year.
dayOfMonth (Int32)
The day of month.
hourOfDay (Int32)
The hour.
minuteOfHour (Int32)
The minute.
Return Value
An Instant value representing the given date and time in UTC and the ISO calendar.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)