public class DateMapper extends Object implements RecordMapper<Date>
| Constructor and Description | 
|---|
| DateMapper()Constructs a DateMapper with an offset of 0. | 
| DateMapper(int offset)Constructs a DateMapper with the given offset. | 
| Modifier and Type | Method and Description | 
|---|---|
| Date | processRow(ResultSet resultSet,
          int rowOffset,
          Criteria criteria)Maps the current row in the result set to a java.util.Date. | 
public DateMapper()
public DateMapper(int offset)
offset - the additional offset (0 based).public Date processRow(ResultSet resultSet, int rowOffset, Criteria criteria) throws TorqueException
processRow in interface RecordMapper<Date>resultSet - the result set to map, not null.rowOffset - a possible offset in the columns to be considered
        (if previous columns contain other objects), or 0 for no offset.criteria - The criteria which created the result set,
        or null if not known. This parameter is not used
        by this record mapper.TorqueException - when the mapping fails.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.