Class DesktopDateFormat
- java.lang.Object
-
- gaia.cu9.ari.gaiaorbit.desktop.format.DesktopDateFormat
-
- All Implemented Interfaces:
IDateFormat
public class DesktopDateFormat extends java.lang.Object implements IDateFormat
-
-
Constructor Summary
Constructors Constructor Description DesktopDateFormat(java.lang.String pattern)
DesktopDateFormat(java.util.Locale loc, boolean date, boolean time)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
format(java.time.Instant date)
java.time.Instant
parse(java.lang.String date)
-
-
-
Method Detail
-
format
public java.lang.String format(java.time.Instant date)
- Specified by:
format
in interfaceIDateFormat
-
parse
public java.time.Instant parse(java.lang.String date)
- Specified by:
parse
in interfaceIDateFormat
-
-