/** * Creates an empty {@link Time} element. * * @return The new element. */ public static final Time time() { return new Time(); }
/** * {@doc HTML5.text-level-semantics#attr-time-datetime datetime} * attribute. * * <p> * Machine-readable value. * * @param datetime The new value for this attribute. * @return This object (for method chaining). */ public final Time datetime(String datetime) { attr("datetime", datetime); return this; }
/** * Creates a {@link Time} element with the specified {@link Time#children(Object[])} nodes. * * @param children The {@link Time#children(Object[])} nodes. * @return The new element. */ public static final Time time(Object...children) { return time().children(children); }
"Time", P.class, p("I have a date on ",time("Valentines day").datetime("2016-02-14 18:00"), "."),
/** * Creates a {@link Time} element with the specified {@link Time#children(Object[])} nodes. * * @param children The {@link Time#children(Object[])} nodes. * @return The new element. */ public static final Time time(Object...children) { return time().children(children); }
/** * Creates a {@link Time} element with the specified {@link Time#children(Object[])} nodes. * * @param children The {@link Time#children(Object[])} nodes. * @return The new element. */ public static final Time time(Object...children) { return time().children(children); }
/** * Creates an empty {@link Time} element. * * @return The new element. */ public static final Time time() { return new Time(); }
/** * {@doc HTML5.text-level-semantics#attr-time-datetime datetime} * attribute. * * <p> * Machine-readable value. * * @param datetime The new value for this attribute. * @return This object (for method chaining). */ public final Time datetime(String datetime) { attr("datetime", datetime); return this; }
/** * Creates an empty {@link Time} element. * * @return The new element. */ public static final Time time() { return new Time(); }
/** * {@doc HTML5.text-level-semantics#attr-time-datetime datetime} * attribute. * * <p> * Machine-readable value. * * @param datetime The new value for this attribute. * @return This object (for method chaining). */ public final Time datetime(String datetime) { attr("datetime", datetime); return this; }