Displaying 1 to 20 from 22 results

Chronology - Building a better date/time library for Swift

  •    Swift

Chronology is an attempt to build a better date and time API for Swift on top of the constructs provided by Foundation. Foundation.framework has one of the absolute best and most capable APIs available to any developer on any platform. However, it comes with a heavy price in the form of cognitive load. Too many developers do too many incorrect things. Over the years, Foundation has gained more and more convenience methods via the Calendar type, but fundamental issues remain.

Time - 🕰 Type-safe time calculations in Swift, powered by generics

  •    Swift

To represent 10 minutes. Although, in my opinion, you would rarely need to.

Optimizing-Swift-Build-Times - Collection of advice on optimizing compile times of Swift projects.

  •    Swift

Collection of advice on optimizing compile times of Swift projects. Swift is constantly improving ❤️. For the time being, though, long compile times persist as a big issue when working on medium-to-large apps. The goal of this project is to gather all there is that can help you shorten your build times.




BuildTimeAnalyzer-for-Xcode - Build Time Analyzer for Swift

  •    Swift

Build Time Analyzer is a macOS app that shows you a break down of Swift build times. See this post and this post on Medium for context. Open up the app and follow the instructions.

when - A natural language date/time parser with pluggable rules

  •    Go

Check EN and RU rules and tests for them, for more examples.Needed rule not found? Open an issue with the case and it will be added asap.

dateparse - GoLang Parse any date string without knowing format in advance.

  •    Go

Parse any date string without knowing format in advance. Uses a scanner to read bytes and use a state machine to find format. Much faster than shotgun based parse methods. See bench_test.go for performance comparison.Timezones The location your server is configured effects the results! See example or https://play.golang.org/p/IDHRalIyXh and last paragraph here https://golang.org/pkg/time/#Parse.

durafmt - :clock8: Better time duration formatting in Go!

  •    Go

durafmt is a tiny Go library that formats time.Duration strings into a human readable format.Contributions are welcome! Fork this repo and add your changes and submit a PR.


go-intervals - A golang library for set operations on intervals, such as time ranges.

  •    Go

go-intervals is a library for performing set operations on 1-dimensional intervals, such as time ranges.The intervalset.Set implementation's efficiency could be improved. Insertion is best- and worse-case O(n). It could be O(log(n)).

gostrftime - strftime for Go

  •    Go

A Go pkg for formatting time.Time in an strftime(3) like way. Basically, strftime for Go, with a couple of additions. Released under an MIT license. See LICENSE.md file for details.

DateTime - Date/time (+math, +intervals) implementation for Haxe

  •    Haxe

Custom date-time implementation for Haxe. Does not store milliseconds information. Contains classes and methods for manipulating intervals and date/time math. DateTime is completely crossplatform, because it's written in plain Haxe.

ntp - a simple ntp client written in go

  •    Go

The ntp package is an implementation of a Simple NTP (SNTP) client based on RFC5905. It allows you to connect to a remote NTP server and request information about the current time. The Response structure's Validate method performs additional sanity checks to determine whether the response is suitable for time synchronization purposes.

iso8601 - A fast ISO8601 date parser for Go

  •    Go

When working with dates in Go, especially with API communication the default RFC3339 time layout is too restrictive to support the wide range of dates supported in the ISO8601 specification. This library intends to parse any date that looks like the ISO8601 standard into native Go time.

timemock - This package should allow you to mock time in golang

  •    Go

Inspired by Timecop Ruby Gem. It provides methods for Freezing time, Traveling in time, and scaling time for testing. Since in golang we can't override time package functions for mock purposes, we needed another solution to mock time.

time4go

  •    Go

This project is licensed under the MIT License.

timex - timex is a usefull golang time toolkit

  •    Go

timex is a usefull golang time toolkit

duration - Parse iso8601 duration strings, and use to shift dates/times.

  •    Go

Parse ISO8601 duration strings, and use to shift dates/times. A very reasonable question.