@@ -119,48 +119,48 @@ private[scalikejdbc] class AsyncResultSetImpl(rows: IndexedSeq[RowData])
119119 case dt : DateTime => dt
120120 case TimeInMillis (ms) => new DateTime (ms)
121121 case other => throw new UnsupportedOperationException (
122- s " Please send a feedback to the library maintainers about supporting ${other.getClass} for #dateTime ! " )
122+ s " Please send a feedback to the library maintainers about supporting ${other.getClass} for #jodaDateTime ! " )
123123 }
124- override def dateTime (columnIndex : Int ): DateTime = anyToDateTime(any(columnIndex))
125- override def dateTime (columnLabel : String ): DateTime = anyToDateTime(any(columnLabel))
126- override def dateTimeOpt (columnIndex : Int ): Option [DateTime ] = Option (dateTime (columnIndex))
127- override def dateTimeOpt (columnLabel : String ): Option [DateTime ] = Option (dateTime (columnLabel))
124+ override def jodaDateTime (columnIndex : Int ): DateTime = anyToDateTime(any(columnIndex))
125+ override def jodaDateTime (columnLabel : String ): DateTime = anyToDateTime(any(columnLabel))
126+ override def jodaDateTimeOpt (columnIndex : Int ): Option [DateTime ] = Option (jodaDateTime (columnIndex))
127+ override def jodaDateTimeOpt (columnLabel : String ): Option [DateTime ] = Option (jodaDateTime (columnLabel))
128128
129129 private def anyToLocalDateTime (any : Any ): LocalDateTime = any match {
130130 case null => null
131131 case ldt : LocalDateTime => ldt
132132 case TimeInMillis (ms) => new LocalDateTime (ms)
133133 case other => throw new UnsupportedOperationException (
134- s " Please send a feedback to the library maintainers about supporting ${other.getClass} for #localDateTime ! " )
134+ s " Please send a feedback to the library maintainers about supporting ${other.getClass} for #jodaLocalDateTime ! " )
135135 }
136- override def localDateTime (columnIndex : Int ): LocalDateTime = anyToLocalDateTime(any(columnIndex))
137- override def localDateTime (columnLabel : String ): LocalDateTime = anyToLocalDateTime(any(columnLabel))
138- override def localDateTimeOpt (columnIndex : Int ): Option [LocalDateTime ] = Option (localDateTime (columnIndex))
139- override def localDateTimeOpt (columnLabel : String ): Option [LocalDateTime ] = Option (localDateTime (columnLabel))
136+ override def jodaLocalDateTime (columnIndex : Int ): LocalDateTime = anyToLocalDateTime(any(columnIndex))
137+ override def jodaLocalDateTime (columnLabel : String ): LocalDateTime = anyToLocalDateTime(any(columnLabel))
138+ override def jodaLocalDateTimeOpt (columnIndex : Int ): Option [LocalDateTime ] = Option (jodaLocalDateTime (columnIndex))
139+ override def jodaLocalDateTimeOpt (columnLabel : String ): Option [LocalDateTime ] = Option (jodaLocalDateTime (columnLabel))
140140
141141 private def anyToLocalDate (any : Any ): LocalDate = any match {
142142 case null => null
143143 case ld : LocalDate => ld
144144 case TimeInMillis (ms) => new LocalDate (ms)
145145 case other => throw new UnsupportedOperationException (
146- s " Please send a feedback to the library maintainers about supporting ${other.getClass} for #localDate ! " )
146+ s " Please send a feedback to the library maintainers about supporting ${other.getClass} for #jodaLocalDate ! " )
147147 }
148- override def localDate (columnIndex : Int ): LocalDate = anyToLocalDate(any(columnIndex))
149- override def localDate (columnLabel : String ): LocalDate = anyToLocalDate(any(columnLabel))
150- override def localDateOpt (columnIndex : Int ): Option [LocalDate ] = Option (localDate (columnIndex))
151- override def localDateOpt (columnLabel : String ): Option [LocalDate ] = Option (localDate (columnLabel))
148+ override def jodaLocalDate (columnIndex : Int ): LocalDate = anyToLocalDate(any(columnIndex))
149+ override def jodaLocalDate (columnLabel : String ): LocalDate = anyToLocalDate(any(columnLabel))
150+ override def jodaLocalDateOpt (columnIndex : Int ): Option [LocalDate ] = Option (jodaLocalDate (columnIndex))
151+ override def jodaLocalDateOpt (columnLabel : String ): Option [LocalDate ] = Option (jodaLocalDate (columnLabel))
152152
153153 private def anyToLocalTime (any : Any ): LocalTime = any match {
154154 case null => null
155155 case lt : LocalTime => lt
156156 case TimeInMillis (ms) => new LocalTime (ms)
157157 case other => throw new UnsupportedOperationException (
158- s " Please send a feedback to the library maintainers about supporting ${other.getClass} for #localTime ! " )
158+ s " Please send a feedback to the library maintainers about supporting ${other.getClass} for #jodaLocalTime ! " )
159159 }
160- override def localTime (columnIndex : Int ): LocalTime = anyToLocalTime(any(columnIndex))
161- override def localTime (columnLabel : String ): LocalTime = anyToLocalTime(any(columnLabel))
162- override def localTimeOpt (columnIndex : Int ): Option [LocalTime ] = Option (localTime (columnIndex))
163- override def localTimeOpt (columnLabel : String ): Option [LocalTime ] = Option (localTime (columnLabel))
160+ override def jodaLocalTime (columnIndex : Int ): LocalTime = anyToLocalTime(any(columnIndex))
161+ override def jodaLocalTime (columnLabel : String ): LocalTime = anyToLocalTime(any(columnLabel))
162+ override def jodaLocalTimeOpt (columnIndex : Int ): Option [LocalTime ] = Option (jodaLocalTime (columnIndex))
163+ override def jodaLocalTimeOpt (columnLabel : String ): Option [LocalTime ] = Option (jodaLocalTime (columnLabel))
164164
165165 private def anyToUrl (any : Any ): java.net.URL = any match {
166166 case null => null
0 commit comments