Package org.esa.snap.core.util
Class ISO8601Converter
- java.lang.Object
-
- org.esa.snap.core.util.ISO8601Converter
-
public class ISO8601Converter extends Object
Converts betweenString
andProductData.UTC
. The String representation is ISO8601 compliant. The formatted String follows the pattern:yyyy-MM-dd'T'HH:mm:ss.SSSSSSX
. With real numbers it looks like:2023-11-13T14:25:36.126935Z
-
-
Constructor Summary
Constructors Constructor Description ISO8601Converter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
format(ProductData.UTC utc)
static ProductData.UTC
parse(String iso8601String)
-
-
-
Method Detail
-
parse
public static ProductData.UTC parse(String iso8601String) throws ParseException
- Throws:
ParseException
-
format
public static String format(ProductData.UTC utc)
-
-