gi-soup-0.2.52.12: Soup bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Soup.Structs.Date

Contents

Description

A date and time. The date is assumed to be in the (proleptic) Gregorian calendar. The time is in UTC if utc is %TRUE. Otherwise, the time is a local time, and offset gives the offset from UTC in minutes (such that adding offset to the time would give the correct UTC time). If utc is %FALSE and @offset is 0, then the %SoupDate represents a "floating" time with no associated timezone information.

Synopsis

Exported types

newtype Date Source

Constructors

Date (ForeignPtr Date) 

Instances

Methods

dateCopy

dateFree

dateFree :: MonadIO m => Date -> m () Source

dateGetDay

dateGetHour

dateGetMinute

dateGetMonth

dateGetOffset

dateGetSecond

dateGetUtc

dateGetYear

dateIsPast

dateNew

dateNew :: MonadIO m => Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> m Date Source

dateNewFromNow

dateNewFromString

dateNewFromTimeT

dateToString

dateToTimeT

dateToTimeval

Properties

Day

Hour

Minute

Month

Offset

Second

Utc

Year