Noda Time
FromUtc Method (year, monthOfYear, dayOfMonth)
NamespacesNodaTime.TestingFakeClockFromUtc(Int32, Int32, Int32)

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

Returns a fake clock initially set to midnight of the given year/month/day in UTC in the ISO calendar. The value of the AutoAdvance property will be initialised to zero.
Declaration Syntax
C#Visual BasicVisual C++
public static FakeClock FromUtc(
	int year,
	int monthOfYear,
	int dayOfMonth
)
Public Shared Function FromUtc ( _
	year As Integer, _
	monthOfYear As Integer, _
	dayOfMonth As Integer _
) As FakeClock
public:
static FakeClock^ FromUtc(
	int year, 
	int monthOfYear, 
	int dayOfMonth
)
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.
Return Value
A FakeClock initialised to the given instant, with no auto-advance.

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