|
| NwDateTime (int year=0, int month=1, int day=1, int hour=0, int minute=0, int second=0, int milliSecond=0) |
|
NwDateTime | Add (int value, long scale) |
|
NwDateTime | AddDays (int days) |
|
NwDateTime | AddHours (int hours) |
|
NwDateTime | AddMilliseconds (int milliseconds) |
|
NwDateTime | AddMinutes (int minutes) |
|
NwDateTime | AddMonths (int months) |
|
NwDateTime | AddSeconds (int seconds) |
|
NwDateTime | AddYears (int years) |
|
override string | ToString () |
|
|
const int | DaysInMonth = 28 |
|
static readonly NwDateTime | MaxDate = new NwDateTime(GetTicks(30001)).AddMilliseconds(-1) |
|
static readonly NwDateTime | MinDate = new NwDateTime(GetTicks()) |
|
const long | TicksPerDay = TicksPerHour * 24 |
|
const long | TicksPerHour = TicksPerMinute * 60 |
|
const long | TicksPerMillisecond = 1 |
|
const long | TicksPerMinute = TicksPerSecond * 60 |
|
const long | TicksPerMonth = TicksPerDay * 28 |
|
const long | TicksPerSecond = TicksPerMillisecond * 1000 |
|
const long | TicksPerYear = TicksPerMonth * 12 |
|
|
NwDateTime | Date [get] |
|
int | DayInMonth [get] |
|
int? | DayInTenday [get] |
|
int | DayInYear [get] |
|
int | Hour [get] |
|
int | Millisecond [get] |
|
int | Minute [get] |
|
int | Month [get] |
|
static NwDateTime | Now [get, set] |
| Gets or sets the current module date and time. This date must fall within the years 0 to 32000. Time can only be advanced forwards; attempting to set the time backwards will result in no change to the calendar, and a warning logged. More...
|
|
int | Second [get] |
|
static NwDateTime | Today [get, set] |
| Gets or sets the current module date. This date must fall within the years 0 to 32000. More...
|
|
int | Year [get] |
|
◆ Now
Gets or sets the current module date and time. This date must fall within the years 0 to 32000. Time can only be advanced forwards; attempting to set the time backwards will result in no change to the calendar, and a warning logged.
◆ Today
Gets or sets the current module date. This date must fall within the years 0 to 32000.
The documentation for this struct was generated from the following file:
- NWN.Anvil/src/main/API/Time/NwDateTime.cs