public class DateDelegate extends Object implements RuntimeDelegate.HeaderDelegate<Date>
Constructor and Description |
---|
DateDelegate() |
Modifier and Type | Method and Description |
---|---|
Date |
fromString(String value)
Parse the supplied value and create an instance of
T . |
String |
toString(Date value)
Convert the supplied value to a String.
|
public Date fromString(String value)
RuntimeDelegate.HeaderDelegate
T
.fromString
in interface RuntimeDelegate.HeaderDelegate<Date>
value
- the string value.T
.public String toString(Date value)
RuntimeDelegate.HeaderDelegate
toString
in interface RuntimeDelegate.HeaderDelegate<Date>
value
- the value of type T
.Copyright © 2020 JBoss by Red Hat. All rights reserved.