<commit_before>package com.sjsu.bikeshare.service

import org.springframework.data.repository.CrudRepository
import com.sjsu.bikeshare.domain.Bike
import scala.collection.mutable._
import java.util.{ List, ArrayList }
import com.mongodb.casbah.Imports._
//import com.mongodb.casbah.
import com.mongodb.casbah.commons.Imports.DBObject 
import com.sjsu.bikeshare.exception.{InValidInput,MongoException}
import java.util.Date;
import java.util.{List,TimeZone}
import java.lang._
import java.text.SimpleDateFormat;
import java.text.DateFormat;
import java.lang.Double
import com.sjsu.bikeshare.domain.Review;

object BikeRepository {
  val dateFormat:DateFormat   = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
dateFormat.setTimeZone(TimeZone.getTimeZone("GMT"))
  
 
   def getAllBikes(latitude: String,longitude: String,bikeType: String
       ,range: String,fromDate: String,toDate: String) = {
<commit_msg>fix for dateformat<commit_after>package com.sjsu.bikeshare.service

import org.springframework.data.repository.CrudRepository
import com.sjsu.bikeshare.domain.Bike
import scala.collection.mutable._
import java.util.{ List, ArrayList }
import com.mongodb.casbah.Imports._
//import com.mongodb.casbah.
import com.mongodb.casbah.commons.Imports.DBObject 
import com.sjsu.bikeshare.exception.{InValidInput,MongoException}
import java.util.Date;
import java.util.{List,TimeZone}
import java.lang._
import java.text.SimpleDateFormat;
import java.text.DateFormat;
import java.lang.Double
import com.sjsu.bikeshare.domain.Review;

object BikeRepository {
  val dateFormat:DateFormat   = new SimpleDateFormat("MM-dd-yyyy");
dateFormat.setTimeZone(TimeZone.getTimeZone("GMT"))
  
 
   def getAllBikes(latitude: String,longitude: String,bikeType: String
       ,range: String,fromDate: String,toDate: String) = {

{'fraction_non_alphanumeric': 0.11252068394925538, 'fraction_numerical': 0.0, 'mean_word_length': 5.845283018867924, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4152833', 'n_tokens_mistral': 629, 'n_tokens_neox': 618, 'n_words': 102}