@@ -43,6 +43,7 @@ import GHC.Generics as Export (Generic)
43import GHC.TypeLits
43import GHC.TypeLits
44import Network.Google.Data.JSON as Export
44import Network.Google.Data.JSON as Export
45import Network.Google.Data.Numeric as Export
45import Network.Google.Data.Numeric as Export
46+import Network.Google.Data.Time as Export
46-- import Network.HTTP.Media
47-- import Network.HTTP.Media
47import Numeric.Natural as Export (Natural)
48import Numeric.Natural as Export (Natural)
48import Prelude as Export hiding (product)
49import Prelude as Export hiding (product)
@@ -63,19 +64,6 @@ _Default = iso f Just
63 f (Just x) = x
64 f (Just x) = x
64 f Nothing = mempty
65 f Nothing = mempty
70−newtype Time' = Time' Text -- TimeOfDay
71− deriving (Eq, Ord, Show, Read, Generic, Data, Typeable, FromText, ToText, FromJSON, ToJSON)
73−newtype Date' = Date' Text -- LocalTime
74− deriving (Eq, Ord, Show, Read, Generic, Data, Typeable, FromText, ToText, FromJSON, ToJSON)
76−newtype DateTime' = DateTime' Text -- UTCTime
77− deriving (Eq, Ord, Show, Read, Generic, Data, Typeable, FromText, ToText, FromJSON, ToJSON)
79data AltJSON = AltJSON
67data AltJSON = AltJSON
80 deriving (Eq, Ord, Show, Read, Generic, Data, Typeable)
68 deriving (Eq, Ord, Show, Read, Generic, Data, Typeable)