Content-Length: 28570 | pFad | http://hackage.haskell.org/package/pact-time

pact-time: Time Library for Pact

pact-time: Time Library for Pact

[ bsd3, data, library, system ] [ Propose Tags ] [ Report a vulnerability ]

A minimal time library for usage with the Pact Smart Contract Language.

The focus of this library is on minimality, performance, and binary level stability. Time is represented as 64-bit integral value that counts nominal micro-seconds since the modified Julian date epoch (MJD). The implementation ignores leap seconds.

While the library can parse date-time values with time zones, internally all date-times are represented as UTC and formatting only supports UTC. Only the default English language locale is supported.

Details about supported formats can be found in the Pact Language Reference.


[Skip to Readme]

Flags

Manual Flags

NameDescriptionDefault
with-time

Use the time package for parsing and formatting

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.3.0.0, 0.3.0.1
Change log CHANGELOG.md
Dependencies aeson (>=0.11), attoparsec (>=0.13), base (>=4.11 && <5), bytestring (>=0.10), cereal (>=0.5), clock (>=0.7.2), data-dword (>=0.3), Decimal (>=0.4), deepseq (>=1.4), microlens (>=0.4), mtl (>=2.2), pact-time, text (>=1.2), vector (>=0.12) [details]
Tested with ghc ==9.10, ghc ==9.8, ghc ==9.6, ghc ==9.4
License BSD-3-Clause
Copyright Copyright (c) 2021 Kadena LLC.
Author Lars Kuhtz
Maintainer lakuhtz@gmail.com
Category Data, System
Home page https://github.com/kadena-io/pact-time
Bug tracker https://github.com/kadena-io/pact-time/issues
Source repo head: git clone https://github.com/kadena-io/pact-time.git
Uploaded by larsk at 2024-07-01T21:54:36Z
Distributions NixOS:0.3.0.1
Downloads 1647 total (28 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-07-01 [all 1 reports]

Readme for pact-time-0.3.0.1

[back to package description]

Pact-Time Library

A minimal time library for usage with the Pact Smart Contract Language.

The focus of this library is on minimality, performance, and binary level stability. Time is represented as a 64-bit integral value that counts nominal micro-seconds since the modified Julian date epoch (MJD). The implementation ignores leap seconds.

While the library can parse date-time values with time zones, internally all date-times are represented as UTC and formatting only supports UTC. Only the default English language locale is supported.

Details about supported formats can be found in the Pact Language Reference.









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://hackage.haskell.org/package/pact-time

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy