public final class QuoteExpirationTimeConverter
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
convertDateToString(java.util.Date date,
java.lang.String pattern,
java.util.Locale locale)
Converts quote expiration time from
Date to String. |
static java.util.Date |
convertStringToDate(java.lang.String date,
java.lang.String pattern,
java.util.Locale locale)
Converts quote expiration time from
String to Date by adjusting the time part to end of day
(23:59:59). |
public static java.lang.String convertDateToString(java.util.Date date,
java.lang.String pattern,
java.util.Locale locale)
Date to String.date - the date to be convertedpattern - the date pattern to be used for conversionlocale - the locale to be used for conversionpublic static java.util.Date convertStringToDate(java.lang.String date,
java.lang.String pattern,
java.util.Locale locale)
String to Date by adjusting the time part to end of day
(23:59:59).date - the string representation of quote expiration timepattern - the date pattern to be used for conversionlocale - the locale to be used for conversionDate objectCopyright © 2018 SAP SE. All Rights Reserved.