Click or drag to resize

WbTime Methods

This is preliminary documentation and is subject to change.

The WbTime type exposes the following members.

Methods
 NameDescription
Public methodEquals(Object)Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object))
Public methodEquals(WbTime)Indicates whether the current object is equal to another object of the same type.
Public methodStatic memberFromDateTime(DateTime, WikibaseTimePrecision)Constructs a WbTime instance from DateTime, using the appropriate calendar model.
Public methodStatic memberFromDateTime(DateTime, Int32, Int32, WikibaseTimePrecision)Constructs a WbTime instance from DateTime.
Public methodStatic memberFromDateTime(DateTime, Int32, Int32, WikibaseTimePrecision, Uri)Constructs a WbTime instance from DateTime.
Public methodStatic memberFromDateTimeOffset(DateTimeOffset, Int32, Int32, WikibaseTimePrecision)Constructs a WbTime instance from DateTimeOffset, using the appropriate calendar model.
Public methodStatic memberFromDateTimeOffset(DateTimeOffset, Int32, Int32, WikibaseTimePrecision, Uri)Constructs a WbTime instance from DateTimeOffset.
Public methodGetHashCodeReturns the hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberParseParses WbTime from its string representation.
Public methodToDateTimeOffset Converts to DateTimeOffset, using appropriate rounding specified by Precision.
Public methodToIso8601UtcString Formats the date and time part into ISO-8601 UTC date time format.
Public methodToStringReturns the fully qualified type name of this instance.
(Overrides ValueTypeToString)
Top
See Also