[commit: packages/time] master: move Data.Time.TAI to Data.Time.Clock.TAI (f99b7a1)
git at git.haskell.org
git at git.haskell.org
Fri Jan 23 22:55:58 UTC 2015
Repository : ssh://git@git.haskell.org/time
On branch : master
Link : http://git.haskell.org/packages/time.git/commitdiff/f99b7a1d1f143053a1443b43663f2f34c9fc83a1
>---------------------------------------------------------------
commit f99b7a1d1f143053a1443b43663f2f34c9fc83a1
Author: Ashley Yakeley <ashley at semantic.org>
Date: Sat Dec 17 14:19:51 2005 -0800
move Data.Time.TAI to Data.Time.Clock.TAI
darcs-hash:20051217221951-ac6dd-98191cd696896f70ab9883e60043ab442885518d
>---------------------------------------------------------------
f99b7a1d1f143053a1443b43663f2f34c9fc83a1
Data/Time/{ => Clock}/TAI.hs | 2 +-
Makefile | 12 ++++++------
TimeLib.cabal | 2 +-
TimeLib.xcodeproj/project.pbxproj | 2 +-
test/TestParseDAT.hs | 2 +-
5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/Data/Time/TAI.hs b/Data/Time/Clock/TAI.hs
similarity index 99%
rename from Data/Time/TAI.hs
rename to Data/Time/Clock/TAI.hs
index 23d3c08..00cebd5 100644
--- a/Data/Time/TAI.hs
+++ b/Data/Time/Clock/TAI.hs
@@ -1,7 +1,7 @@
{-# OPTIONS -Wall -Werror #-}
-- | TAI and leap-second tables for converting to UTC: most people won't need this module.
-module Data.Time.TAI
+module Data.Time.Clock.TAI
(
-- TAI arithmetic
AbsoluteTime,taiEpoch,addAbsoluteTime,diffAbsoluteTime,
diff --git a/Makefile b/Makefile
index 15f4aae..f4960f2 100644
--- a/Makefile
+++ b/Makefile
@@ -23,8 +23,8 @@ SRCS = Data/Fixed.hs \
Data/Time/Clock/UTC.hs \
Data/Time/Clock/POSIX.hs \
Data/Time/Clock/Current.hs \
+ Data/Time/Clock/TAI.hs \
Data/Time/Clock.hs \
- Data/Time/TAI.hs \
Data/Time/LocalTime/TimeZone.hs \
Data/Time/LocalTime/TimeOfDay.hs \
Data/Time/LocalTime/LocalTime.hs \
@@ -158,11 +158,11 @@ Data/Time/LocalTime.o : Data/Time/LocalTime/Format.hi
Data/Time/LocalTime.o : Data/Time/LocalTime/LocalTime.hi
Data/Time/LocalTime.o : Data/Time/LocalTime/TimeOfDay.hi
Data/Time/LocalTime.o : Data/Time/LocalTime/TimeZone.hi
-Data/Time/TAI.o : Data/Time/TAI.hs
-Data/Time/TAI.o : Data/Fixed.hi
-Data/Time/TAI.o : Data/Time/Clock.hi
-Data/Time/TAI.o : Data/Time/Calendar/Days.hi
-Data/Time/TAI.o : Data/Time/LocalTime.hi
+Data/Time/Clock/TAI.o : Data/Time/Clock/TAI.hs
+Data/Time/Clock/TAI.o : Data/Fixed.hi
+Data/Time/Clock/TAI.o : Data/Time/Clock.hi
+Data/Time/Clock/TAI.o : Data/Time/Calendar/Days.hi
+Data/Time/Clock/TAI.o : Data/Time/LocalTime.hi
Data/Time.o : Data/Time.hs
Data/Time.o : Data/Time/LocalTime.hi
Data/Time.o : Data/Time/Clock.hi
diff --git a/TimeLib.cabal b/TimeLib.cabal
index 2bdac30..04c1d97 100644
--- a/TimeLib.cabal
+++ b/TimeLib.cabal
@@ -18,7 +18,7 @@ Exposed-modules:
Data.Time.Calendar.Julian,
Data.Time.Calendar.Easter,
Data.Time.Clock,
- Data.Time.TAI,
+ Data.Time.Clock.TAI,
Data.Time.LocalTime,
Data.Time
Extensions: ForeignFunctionInterface
diff --git a/TimeLib.xcodeproj/project.pbxproj b/TimeLib.xcodeproj/project.pbxproj
index a3e6a24..e382c8e 100644
--- a/TimeLib.xcodeproj/project.pbxproj
+++ b/TimeLib.xcodeproj/project.pbxproj
@@ -166,7 +166,6 @@
AB01DCFD08374838003C9EF7 /* Clock.hs */,
AB2666A808A56FE30059DEC0 /* LocalTime */,
AB2666E808A571460059DEC0 /* LocalTime.hs */,
- AB01DCFE08374838003C9EF7 /* TAI.hs */,
);
path = Time;
sourceTree = "<group>";
@@ -214,6 +213,7 @@
ABD67841084168B700CF37C0 /* UTC.hs */,
ABD6783F084167B900CF37C0 /* POSIX.hs */,
ABD67840084167D100CF37C0 /* Current.hs */,
+ AB01DCFE08374838003C9EF7 /* TAI.hs */,
);
path = Clock;
sourceTree = "<group>";
diff --git a/test/TestParseDAT.hs b/test/TestParseDAT.hs
index 2f53fab..ee56d49 100644
--- a/test/TestParseDAT.hs
+++ b/test/TestParseDAT.hs
@@ -3,7 +3,7 @@
module Main where
import Data.Time
-import Data.Time.TAI
+import Data.Time.Clock.TAI
import System.IO
hSafeGetContents :: Handle -> IO String
More information about the ghc-commits
mailing list