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
Modifier and TypeMethodDescriptionReturns the angle formatter.Returns the area formatter.Returns the formatter for date-only formatting.Returns the formatter for datetime formatting.Returns the length formatter.Returns the percentage formatter.Returns the formatter for time-only formatting.Returns the volume formatter.
-
Method Details
-
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
-
getLenghtFormat
LengthFormat getLenghtFormat()Returns the length formatter.- Returns:
- Since:
- 24.5.0
-
getAreaFormat
AreaFormat getAreaFormat()Returns the area formatter.- Returns:
- the area formatter
- Since:
- 24.5.0
-
getVolumeFormat
VolumeFormat getVolumeFormat()Returns the volume formatter.- Returns:
- the volume formatter
- Since:
- 24.5.0
-