Package rife.render

Class DateTimeRfc2822

java.lang.Object
rife.render.DateTimeRfc2822
All Implemented Interfaces:
ValueRenderer

public class DateTimeRfc2822 extends Object implements ValueRenderer

Renders the current date and time in RFC 2822 format.

Usage:

   <!--v render:rife.render.DateTimeRfc2822/-->
   {{v render:rife.render.DateTimeRfc2822/}}
 
Since:
1.0
Author:
Erik C. Thauvin
See Also:
  • Constructor Details

    • DateTimeRfc2822

      public DateTimeRfc2822()
  • Method Details

    • render

      public String render(Template template, String valueId, String differentiator)
      Returns the current date and time in RFC 2822 format.
      Specified by:
      render in interface ValueRenderer
      Parameters:
      template - the template instance
      valueId - the value id
      differentiator - the differentiator
      Returns:
      the current date and time in RFC 2822 format