#459 closed enhancement (fixed)
Common table report utilities should be placed in its own class
Reported by: | olle | Owned by: | olle |
---|---|---|---|
Priority: | major | Milestone: | Reggie v2.11 |
Component: | net.sf.basedb.reggie | Keywords: | |
Cc: |
Description
Common table report utilities should be placed in its own class. Currently class/file SampleReportServlet.java
in reggie/src/net/sf/basedb/reggie/servlet/
contains several methods and constants related to general report table generation. These should be placed in its own class, allowing other classes to use the common utilities for generating data for report tables.
Change History (4)
comment:1 by , 12 years ago
Status: | new → assigned |
---|
comment:2 by , 12 years ago
Design update.
- Common table report utilities in class/file
SampleReportServlet.java
inreggie/src/net/sf/basedb/reggie/servlet/
should be moved to its own class/fileReportTableUtilServlet.java
, also inreggie/src/net/sf/basedb/reggie/servlet/
.
Version 0, edited 12 years ago by (next)
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 by , 12 years ago
(In [1835]) Refs #459. Utility class/file ReportTableUtilServlet.java
in reggie/src/net/sf/basedb/reggie/servlet/
updated with three new public convenience methods for converting a Date object to a string:
- New public method
String fetchDateTimeString(Date date, String dateSeparator, String timeSeparator)
. - New public method
String fetchDayDateString(Date date, String separator)
. - New public method
String fetchTimeOfDayString(Date date, String separator)
.
Note:
See TracTickets
for help on using tickets.
Ticket accepted.