Package com.solibri.smc.api.settings
Interface UnitSettings
-
public interface UnitSettings
UnitSettings provides access to unit settings of the software.- Since:
- 9.10.8
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AngleFormat
getAngleFormat()
Returns the angle formatter.DateFormat
getDateFormat()
Returns the formatter for date-only formatting.DateFormat
getDateTimeFormat()
Returns the formatter for datetime formatting.PercentageFormat
getPercentageFormat()
Returns the percentage formatter.DateFormat
getTimeFormat()
Returns the formatter for time-only formatting.
-
-
-
Method Detail
-
getDateFormat
DateFormat getDateFormat()
Returns the formatter for date-only formatting. This does NOT include time in it.- Returns:
- the date format
-
getTimeFormat
DateFormat getTimeFormat()
Returns the formatter for time-only formatting. This does NOT include date in it.- Returns:
- the time format
-
getDateTimeFormat
DateFormat getDateTimeFormat()
Returns the formatter for datetime formatting. This includes both the time and the date in it.- Returns:
- the datetime format
-
getPercentageFormat
PercentageFormat getPercentageFormat()
Returns the percentage formatter.- Returns:
- the percentage formatter
-
getAngleFormat
AngleFormat getAngleFormat()
Returns the angle formatter.- Returns:
- the angle formatter
-
-