public class DateFormat extends Object
Copyright (c) SAP AG 2001-2002
Constructor and Description |
---|
DateFormat() |
Modifier and Type | Method and Description |
---|---|
String |
formatHTTP(Date date)
Convert date to RFC1123 format for use in HTTP headers
|
String |
formatISO8601(Date date)
Convert date to ISO8601 format for use in WEBDAV responses
|
Date |
parseHTTP(String text)
Convert string in RFC1123 format to java date.
|
Date |
parseISO8601(String text)
Convert string in ISO8601 format to java date.
|
public String formatHTTP(Date date)
date
- to convertpublic String formatISO8601(Date date)
date
- to convertpublic Date parseHTTP(String text) throws ParseException
text
- to convertParseException
- on wrong formatpublic Date parseISO8601(String text) throws ParseException
text
- to convertParseException
- on wrong formatAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice