BrightSide Workbench Full Report + Source Code
All Classes Namespaces Files Functions Variables Pages
org.turro.elephant.calendar.Iso8601DateFormat Class Reference

Static Public Member Functions

static String getString (Date date)
 
static Date getDate (String date)
 

Detailed Description

Author
Lluis Turró Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 33 of file Iso8601DateFormat.java.

Member Function Documentation

◆ getDate()

static Date org.turro.elephant.calendar.Iso8601DateFormat.getDate ( String  date)
static

Definition at line 46 of file Iso8601DateFormat.java.

46  {
47  try {
48  return dateFormat.get().parse(date);
49  } catch (ParseException ex) {
50  Logger.getLogger(Iso8601DateFormat.class.getName()).log(Level.SEVERE, ElephantContext.logMsg(date), ex);
51  return null;
52  }
53  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getString()

static String org.turro.elephant.calendar.Iso8601DateFormat.getString ( Date  date)
static

Definition at line 42 of file Iso8601DateFormat.java.

42  {
43  return dateFormat.get().format(date);
44  }

The documentation for this class was generated from the following file: