// Path: app/src/main/java/com/projects/elad/hacklist/data/api/HacklistService.java
// public interface HacklistService {
// 
//   @GET("/{YEAR}/{MONTH}.json")
//   Observable<Map<String, List<HackEvent>>> getMonthObject(@Path("YEAR") String year, @Path("MONTH") String month);
// 
// 
//   /******** Helper class that sets up new services *******/
//   class ServiceCreator {
// 
//     public static HacklistService newHacklistService() {
//       RestAdapter retrofitAdapter = new RestAdapter.Builder()
//               .setLogLevel(RestAdapter.LogLevel.FULL)
//               .setEndpoint(Constants.HACKALIST_BASE_URL)
//               .build();
// 
//       return retrofitAdapter.create(HacklistService.class);
//     }
//   }
// 
// }
// 
// Path: app/src/main/java/com/projects/elad/hacklist/util/CurrDate.java
// public class CurrDate {
//    private  int currYearInt;
//    private  int currMonthInt;
//    private  String currentYear;
//    private  String currentMonth;
// 
//     public CurrDate() {
//          Calendar calender = Calendar.getInstance();
// 
//          currYearInt = calender.get(Calendar.YEAR);
//          currMonthInt = calender.get(Calendar.MONTH);
// 
//          currentYear = String.valueOf(currYearInt);
//          currentMonth = Utils.getStringForMonthInt(currMonthInt);
//     }
// 
//     public int getCurrYearInt() {
//         return currYearInt;
//     }
// 
//     public int getCurrMonthInt() {
//         return currMonthInt;
//     }
// 
//     public String getCurrentYear() {
//         return currentYear;
//     }
// 
//     public String getCurrentMonth() {
//         return currentMonth;
//     }
// }


import com.projects.elad.hacklist.data.api.HacklistService;
import com.projects.elad.hacklist.injection.scopes.HacklistApplicationScope;
import com.projects.elad.hacklist.util.CurrDate;
import dagger.Module;
import dagger.Provides;
package com.projects.elad.hacklist.injection.modules;



/**
 * Created by EladKeyshawn on 25/02/2017.
 */
@Module
public class NetModule {
    private CurrDate currDate;

    public NetModule() {
        currDate = new CurrDate();
    }

    @Provides
    @HacklistApplicationScope
    public CurrDate provideCurrDate() {
        return currDate;
    }

    @Provides
    @HacklistApplicationScope
// Path: app/src/main/java/com/projects/elad/hacklist/data/api/HacklistService.java
// public interface HacklistService {
// 
//   @GET("/{YEAR}/{MONTH}.json")
//   Observable<Map<String, List<HackEvent>>> getMonthObject(@Path("YEAR") String year, @Path("MONTH") String month);
// 
// 
//   /******** Helper class that sets up new services *******/
//   class ServiceCreator {
// 
//     public static HacklistService newHacklistService() {
//       RestAdapter retrofitAdapter = new RestAdapter.Builder()
//               .setLogLevel(RestAdapter.LogLevel.FULL)
//               .setEndpoint(Constants.HACKALIST_BASE_URL)
//               .build();
// 
//       return retrofitAdapter.create(HacklistService.class);
//     }
//   }
// 
// }
// 
// Path: app/src/main/java/com/projects/elad/hacklist/util/CurrDate.java
// public class CurrDate {
//    private  int currYearInt;
//    private  int currMonthInt;
//    private  String currentYear;
//    private  String currentMonth;
// 
//     public CurrDate() {
//          Calendar calender = Calendar.getInstance();
// 
//          currYearInt = calender.get(Calendar.YEAR);
//          currMonthInt = calender.get(Calendar.MONTH);
// 
//          currentYear = String.valueOf(currYearInt);
//          currentMonth = Utils.getStringForMonthInt(currMonthInt);
//     }
// 
//     public int getCurrYearInt() {
//         return currYearInt;
//     }
// 
//     public int getCurrMonthInt() {
//         return currMonthInt;
//     }
// 
//     public String getCurrentYear() {
//         return currentYear;
//     }
// 
//     public String getCurrentMonth() {
//         return currentMonth;
//     }
// }


// Path: app/src/main/java/com/projects/elad/hacklist/injection/modules/NetModule.java
import com.projects.elad.hacklist.data.api.HacklistService;
import com.projects.elad.hacklist.injection.scopes.HacklistApplicationScope;
import com.projects.elad.hacklist.util.CurrDate;
import dagger.Module;
import dagger.Provides;

package com.projects.elad.hacklist.injection.modules;



/**
 * Created by EladKeyshawn on 25/02/2017.
 */
@Module
public class NetModule {
    private CurrDate currDate;

    public NetModule() {
        currDate = new CurrDate();
    }

    @Provides
    @HacklistApplicationScope
    public CurrDate provideCurrDate() {
        return currDate;
    }

    @Provides
    @HacklistApplicationScope
    public HacklistService provideHacklistService(){