getStyle method
Return the style that was used to construct this duration formatter object. Valid values are "text" or "clock".
Implementation
String getStyle() {
String result = '';
final String formatOptions = toJsonString();
final String jscode1 = 'new DurationFmt($formatOptions).getStyle()';
result = ILibJS.instance.evaluate(jscode1).stringResult;
return result;
}