Class CalendarExtensions
- Namespace
- SkyrimForge.Game
- Assembly
- SkyrimForge.Game.dll
Provides extension members for Calendar.
public static class CalendarExtensions
- Inheritance
-
CalendarExtensions
- Inherited Members
Methods
get_TimeOfDay(Calendar)
The calendar time since the last midnight.
public static TimeSpan get_TimeOfDay(Calendar calendar)
Parameters
calendarCalendar
Returns
get_TimePassed(Calendar)
The calendar time since the game began.
public static TimeSpan get_TimePassed(Calendar calendar)
Parameters
calendarCalendar
Returns
get_WholeDaysPassed(Calendar)
The whole days since the game began, the first being zero.
public static int get_WholeDaysPassed(Calendar calendar)
Parameters
calendarCalendar
Returns
Remarks
SkyrimForge.Game.CalendarBindings.GetDaysPassed(SkyrimForge.Game.Calendar) counts the part of the current day as well, and SkyrimForge.Game.CalendarBindings.GetDay(SkyrimForge.Game.Calendar) is the day of the month rather than a count.