public class DateWriter
extends java.lang.Object
| Constructor and Description |
|---|
DateWriter() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
write(java.util.Date date)
Writes a date header.
|
static java.lang.String |
write(java.util.Date date,
boolean cookie)
Writes a date header.
|
public static java.lang.String write(java.util.Date date)
date - The date to write.public static java.lang.String write(java.util.Date date,
boolean cookie)
date - The date to write.cookie - Indicates if the date should be in the cookie format.Copyright © 2005-2020 Restlet.