public static AcceptDatetime valueOf ( final String value ) { if ( value != null ) { final Instant time = parseDatetime ( value ) ; if ( time != null ) { return new AcceptDatetime ( time ) ; } } return null ; }
Create an Accept - Datetime header object from a string .