-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | .NET TimeSpan
--   
--   .NET TimeSpan
@package dotnet-timespan
@version 0.0.1.0


-- | .NET TimeSpan implemented in Haskell.
module Data.DotNet.TimeSpan.Internal

-- | .NET TimeSpan: Represents a time interval.
newtype TimeSpan
TimeSpan :: Int64 -> TimeSpan
millisPerSecond :: Int64
millisPerMinute :: Int64
millisPerHour :: Int64
millisPerDay :: Int64
ticksPerMillisecond :: Int64
ticksPerSecond :: Int64
ticksPerMinute :: Int64
ticksPerHour :: Int64
ticksPerDay :: Int64
daysPerTick :: Double
hoursPerTick :: Double
minutesPerTick :: Double
secondsPerTick :: Double
millisPerTick :: Double
maxMillis :: Int64
minMillis :: Int64

-- | Initializes a new instance of the TimeSpan structure to the specified
--   number of ticks.
timeSpanTicks :: Int64 -> TimeSpan

-- | Initializes a new instance of the TimeSpan structure to a specified
--   number of hours, minutes, and seconds.
timeSpanHoursMinsSecs :: Int64 -> Int64 -> Int64 -> TimeSpan

-- | Initializes a new instance of the TimeSpan structure to a specified
--   number of days, hours, minutes, and seconds.
timeSpanDaysHoursMinsSecs :: Int64 -> Int64 -> Int64 -> Int64 -> TimeSpan

-- | Initializes a new instance of the TimeSpan structure to a specified
--   number of days, hours, minutes, seconds, and milliseconds.
timeSpanDaysHoursMinsSecsMillis :: Int64 -> Int64 -> Int64 -> Int64 -> Int64 -> TimeSpan

-- | Gets the number of ticks that represent the value of the current
--   <a>TimeSpan</a> structure.
ticks :: TimeSpan -> Int64

-- | Gets the days component of the time interval represented by the
--   current <a>TimeSpan</a> structure.
days :: TimeSpan -> Int64

-- | Gets the hours component of the time interval represented by the
--   current <a>TimeSpan</a> structure.
hours :: TimeSpan -> Int64

-- | Gets the minutes component of the time interval represented by the
--   current <a>TimeSpan</a> structure.
minutes :: TimeSpan -> Int64

-- | Gets the seconds component of the time interval represented by the
--   current <a>TimeSpan</a> structure.
seconds :: TimeSpan -> Int64

-- | Gets the milliseconds component of the time interval represented by
--   the current <a>TimeSpan</a> structure.
millis :: TimeSpan -> Int64

-- | Returns a <a>TimeSpan</a> that represents a specified number of
--   seconds, where the specification is accurate to the nearest
--   millisecond.
fromSeconds :: Double -> TimeSpan

-- | Returns a <a>TimeSpan</a> that represents a specified number of
--   minutes, where the specification is accurate to the nearest
--   millisecond.
fromMinutes :: Double -> TimeSpan

-- | Returns a <a>TimeSpan</a> that represents a specified number of hours,
--   where the specification is accurate to the nearest millisecond.
fromHours :: Double -> TimeSpan

-- | Returns a <a>TimeSpan</a> that represents a specified number of days,
--   where the specification is accurate to the nearest millisecond.
fromDays :: Double -> TimeSpan

-- | Gets the value of the current <a>TimeSpan</a> structure expressed in
--   whole and fractional days.
totalDays :: TimeSpan -> Double

-- | Gets the value of the current <a>TimeSpan</a> structure expressed in
--   whole and fractional hours.
totalHours :: TimeSpan -> Double

-- | Gets the value of the current <a>TimeSpan</a> structure expressed in
--   whole and fractional minutes.
totalMinutes :: TimeSpan -> Double

-- | Gets the value of the current <a>TimeSpan</a> structure expressed in
--   whole and fractional seconds.
totalSeconds :: TimeSpan -> Double

-- | Gets the value of the current <a>TimeSpan</a> structure expressed in
--   whole and fractional milliseconds.
totalMillis :: TimeSpan -> Double
data FormatLiteral
Positive :: FormatLiteral
Negative :: FormatLiteral
padded :: Int -> a -> [a] -> [a]
timeSpanString :: TimeSpan -> String
interval :: Double -> Int64 -> TimeSpan
instance GHC.Classes.Ord Data.DotNet.TimeSpan.Internal.TimeSpan
instance GHC.Classes.Eq Data.DotNet.TimeSpan.Internal.TimeSpan
instance GHC.Show.Show Data.DotNet.TimeSpan.Internal.TimeSpan


-- | .NET TimeSpan implemented in Haskell.
module Data.DotNet.TimeSpan

-- | .NET TimeSpan: Represents a time interval.
data TimeSpan

-- | Initializes a new instance of the TimeSpan structure to the specified
--   number of ticks.
timeSpanTicks :: Int64 -> TimeSpan

-- | Initializes a new instance of the TimeSpan structure to a specified
--   number of hours, minutes, and seconds.
timeSpanHoursMinsSecs :: Int64 -> Int64 -> Int64 -> TimeSpan

-- | Initializes a new instance of the TimeSpan structure to a specified
--   number of days, hours, minutes, and seconds.
timeSpanDaysHoursMinsSecs :: Int64 -> Int64 -> Int64 -> Int64 -> TimeSpan

-- | Initializes a new instance of the TimeSpan structure to a specified
--   number of days, hours, minutes, seconds, and milliseconds.
timeSpanDaysHoursMinsSecsMillis :: Int64 -> Int64 -> Int64 -> Int64 -> Int64 -> TimeSpan

-- | Gets the number of ticks that represent the value of the current
--   <a>TimeSpan</a> structure.
ticks :: TimeSpan -> Int64

-- | Gets the days component of the time interval represented by the
--   current <a>TimeSpan</a> structure.
days :: TimeSpan -> Int64

-- | Gets the hours component of the time interval represented by the
--   current <a>TimeSpan</a> structure.
hours :: TimeSpan -> Int64

-- | Gets the minutes component of the time interval represented by the
--   current <a>TimeSpan</a> structure.
minutes :: TimeSpan -> Int64

-- | Gets the seconds component of the time interval represented by the
--   current <a>TimeSpan</a> structure.
seconds :: TimeSpan -> Int64

-- | Gets the milliseconds component of the time interval represented by
--   the current <a>TimeSpan</a> structure.
millis :: TimeSpan -> Int64

-- | Returns a <a>TimeSpan</a> that represents a specified number of
--   seconds, where the specification is accurate to the nearest
--   millisecond.
fromSeconds :: Double -> TimeSpan

-- | Returns a <a>TimeSpan</a> that represents a specified number of
--   minutes, where the specification is accurate to the nearest
--   millisecond.
fromMinutes :: Double -> TimeSpan

-- | Returns a <a>TimeSpan</a> that represents a specified number of hours,
--   where the specification is accurate to the nearest millisecond.
fromHours :: Double -> TimeSpan

-- | Returns a <a>TimeSpan</a> that represents a specified number of days,
--   where the specification is accurate to the nearest millisecond.
fromDays :: Double -> TimeSpan

-- | Gets the value of the current <a>TimeSpan</a> structure expressed in
--   whole and fractional days.
totalDays :: TimeSpan -> Double

-- | Gets the value of the current <a>TimeSpan</a> structure expressed in
--   whole and fractional hours.
totalHours :: TimeSpan -> Double

-- | Gets the value of the current <a>TimeSpan</a> structure expressed in
--   whole and fractional minutes.
totalMinutes :: TimeSpan -> Double

-- | Gets the value of the current <a>TimeSpan</a> structure expressed in
--   whole and fractional seconds.
totalSeconds :: TimeSpan -> Double

-- | Gets the value of the current <a>TimeSpan</a> structure expressed in
--   whole and fractional milliseconds.
totalMillis :: TimeSpan -> Double
