HtmlTimeElement
sealed class HtmlTimeElement : HtmlElement, IHtmlTimeElement, IHtmlElement, IElement, INode, IEventTarget, IMarkupFormattable, IParentNode, IChildNode, INonDocumentTypeChildNode, IGlobalEventHandlers
The time HTML element.
using AngleSharp.Dom;
using AngleSharp.Dom.Events;
using System.Runtime.CompilerServices;
namespace AngleSharp.Html.Dom
{
internal sealed class HtmlTimeElement : HtmlElement, IHtmlTimeElement, IHtmlElement, IElement, INode, IEventTarget, IMarkupFormattable, IParentNode, IChildNode, INonDocumentTypeChildNode, IGlobalEventHandlers
{
[System.Runtime.CompilerServices.Nullable(2)]
public string DateTime {
[System.Runtime.CompilerServices.NullableContext(2)]
get {
return this.GetOwnAttribute(AttributeNames.Datetime);
}
[System.Runtime.CompilerServices.NullableContext(2)]
set {
this.SetOwnAttribute(AttributeNames.Datetime, value, false);
}
}
[System.Runtime.CompilerServices.NullableContext(1)]
public HtmlTimeElement(Document owner, [System.Runtime.CompilerServices.Nullable(2)] string prefix = null)
: base(owner, TagNames.Time, prefix, NodeFlags.Special)
{
}
}
}