package com.applemand.zmanim.di

import com.applemand.zmanim.core.jewcal.DafYomiCalculator
import com.applemand.zmanim.core.jewcal.OmerCalculator
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton

@Module
@InstallIn(SingletonComponent::class)
object DomainModule {

    @Provides @Singleton
    fun provideDafYomiCalculator(): DafYomiCalculator = DafYomiCalculator()

    @Provides @Singleton
    fun provideOmerCalculator(): OmerCalculator = OmerCalculator()
}
