public final StyleableProperty<Duration> createStyleableDurationProperty (S styleable, String propertyName, String cssProperty, Function<S, StyleableProperty<Duration>> function)

Create a StyleableProperty<Duration>. The initial value defaults to Duration.BLACK and the inherit flag defaults to false.

Parameters:
styleable    The this reference of the returned property. This is also the property bean.
propertyName    The field name of the StyleableProperty<Duration>
cssProperty    The CSS property name
function    A function that returns the StyleableProperty<Duration> that was created by this method call.