Wb |
This is preliminary documentation and is subject to change.
The WbTime type exposes the following members.
Name | Description | |
---|---|---|
WbTime | Initialize a new instance of WbTime with the specified time point, time zone, precision and calendar model. |
Name | Description | |
---|---|---|
After | Number of units before the given time it could be, if uncertain. The unit is given by the precision. | |
Before | Number of units after the given time it could be, if uncertain. The unit is given by the precision. | |
CalendarModel | The entity URI of the calendar model. | |
Day | ||
GregorianCalendar | The URI for Gregorian calendar. | |
Hour | ||
JulianCalendar | The URI for Julian calendar. | |
Minute | ||
Month | ||
Precision | The unit of the precision of the time. | |
Second | ||
TimeZone | Time zone offset in minutes. | |
Year |
Name | Description | |
---|---|---|
Equals(Object) | Indicates whether this instance and a specified object are equal. (Overrides ValueTypeEquals(Object)) | |
Equals(WbTime) | Indicates whether the current object is equal to another object of the same type. | |
FromDateTime(DateTime, WikibaseTimePrecision) | Constructs a WbTime instance from DateTime, using the appropriate calendar model. | |
FromDateTime(DateTime, Int32, Int32, WikibaseTimePrecision) | Constructs a WbTime instance from DateTime. | |
FromDateTime(DateTime, Int32, Int32, WikibaseTimePrecision, Uri) | Constructs a WbTime instance from DateTime. | |
FromDateTimeOffset(DateTimeOffset, Int32, Int32, WikibaseTimePrecision) | Constructs a WbTime instance from DateTimeOffset, using the appropriate calendar model. | |
FromDateTimeOffset(DateTimeOffset, Int32, Int32, WikibaseTimePrecision, Uri) | Constructs a WbTime instance from DateTimeOffset. | |
GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
Parse | Parses WbTime from its string representation. | |
ToDateTimeOffset | Converts to DateTimeOffset, using appropriate rounding specified by Precision. | |
ToIso8601UtcString | Formats the date and time part into ISO-8601 UTC date time format. | |
ToString | Returns the fully qualified type name of this instance. (Overrides ValueTypeToString) |
Name | Description | |
---|---|---|
Equality(WbTime, WbTime) | ||
Inequality(WbTime, WbTime) |