{-# OPTIONS_GHC -fno-warn-orphans #-}

module Time.Types.Instances
  (
  ) where

-- import ClassyPrelude

import Time.Types

import Data.Universe

import Utils.PathPiece

import Data.Aeson.TH


instance Universe WeekDay
instance Finite WeekDay

nullaryPathPiece ''WeekDay camelToPathPiece

deriveJSON defaultOptions
  { constructorTagModifier = camelToPathPiece
  } ''WeekDay
