public class SexagesimalToDegrees extends Object implements ValueConverter
| Constructor and Description |
|---|
SexagesimalToDegrees(ValueInfo sexInfo,
boolean hours) |
| Modifier and Type | Method and Description |
|---|---|
Object |
convert(Object in)
Performs a conversion from the input type to the output type.
|
ValueInfo |
getInputInfo()
Returns metadata describing the values on the input end of the
conversion.
|
ValueInfo |
getOutputInfo()
Returns metadata describing the values on the output end of the
conversion.
|
String |
toString() |
Object |
unconvert(Object out)
Performs a reverse conversion, from the output type to the input type.
|
public SexagesimalToDegrees(ValueInfo sexInfo, boolean hours)
sexInfo - info for data in sexagesimal formathours - true for H:M:S, false for D:M:Spublic ValueInfo getInputInfo()
ValueConvertergetInputInfo in interface ValueConverterpublic ValueInfo getOutputInfo()
ValueConvertergetOutputInfo in interface ValueConverterpublic Object convert(Object in)
ValueConverterconvert in interface ValueConverterin - object of input typepublic Object unconvert(Object out)
ValueConverterunconvert in interface ValueConverterout - object of output typeCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.