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