awesome-repositories.com
Blog
MCP
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
malcommac avatar

malcommac/SwiftDate

0
View on GitHub↗
7,703 stars·774 forks·Swift·MIT·7 vues

SwiftDate

SwiftDate is a date manipulation library for the Swift programming language. It provides a toolkit for parsing, validating, and formatting dates, times, and timezones.

The library includes a relative time generator for producing date offsets based on reference points such as tomorrow or next week, and a localized date formatter for transforming date objects into human-readable strings across multiple languages and locales. It also features an ISO8601 date parser to convert standardized date strings from SQL, HTTP, and ISO8601 formats into structured objects, alongside tools for managing timezones across different geographical regions.

Broad capabilities cover date arithmetic and value adjustment, chronological comparison, and regional date conversion. The project also provides utilities for date component extraction, random date generation for testing, and the management of time periods and intervals.

The library supports the serialization and deserialization of date and region information for data storage and network transmission.

Features

  • Date Manipulation Utilities - Provides a comprehensive toolkit for date arithmetic, adding or subtracting time units, and calculating durations in Swift.
  • Date and Time Libraries - Provides a comprehensive toolkit for adding or subtracting time units like hours, minutes, and days.
  • Arithmetic Logic - Provides a structured unit-based system for calculating new dates by applying offsets to specific time components.
  • Numeric and Date Formatting - Transforms date and time objects into human-readable strings according to regional localization and layout requirements.
  • ISO8601 Serialization - Supports encoding and decoding of date objects using the ISO8601 international standard for consistent data representation.
  • Standard Format Recognizers - Automatically recognizes major date formats like ISO8601, SQL, and HTTP to create structured date objects.
  • Fluent Date Processing - Implements a fluent API wrapper around native date types to enable more readable and intuitive date manipulation through method chaining.
  • Relative Date Formatting - Displays dates as relative time offsets in multiple languages using customizable styles.
  • Date String Parsers - Converts text into date objects by matching input strings against predefined or custom format templates.
  • Localized Formatters - Transforms date and time objects into human-readable strings across multiple languages and locales.
  • Timezone Management - Manages and converts time across different geographical regions and offsets to ensure global accuracy.
  • Locale-Aware Value Formatting - Transforms date objects into human-readable strings based on regional locales and calendar settings.
  • Internationalized Date Formatting - Converts date objects into human-readable text using colloquial styles and multi-language support.
  • Chronological Comparisons - Provides capabilities to determine chronological relationships between dates, including checks for identical days.
  • Date Component Extractors - Retrieves specific individual components of a date, such as the weekday or hour, for use in application logic.
  • Interval Comparisons - Determines the chronological order between different points in time and adjusted intervals.
  • Reference Date Derivations - Provides functionality to create new dates based on a specific reference point using predefined generation functions.
  • Regional Conversions - Transforms dates from one calendar, locale, or timezone to another while preserving the expressed value.
  • Regional Date Creations - Allows generating date objects from strings or components while specifying target timezones, calendars, and locales.
  • Relative Date Generations - Creates new date objects based on temporal offsets such as tomorrow, next week, or the next available weekday.
  • Time Period Managements - Implements integrated logic to handle defined spans of time, durations, and intervals.
  • Relative Date Generators - Produces dates and time offsets based on natural language reference points like tomorrow or next week.
  • Duration Interval Calculators - Provides utilities for computing the precise differences and spans of time between two date points.
  • Relative Date Generators - Produces date offsets and new date objects based on reference points such as tomorrow or next week.
  • Date Validation - Provides validation checks to verify that date strings match expected formats and are chronologically valid.
  • Date And Time - Management for date and time objects.

Historique des stars

Graphique de l'historique des stars pour malcommac/swiftdateGraphique de l'historique des stars pour malcommac/swiftdate

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à SwiftDate

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec SwiftDate.
  • matthewyork/datetoolsAvatar de MatthewYork

    MatthewYork/DateTools

    7,186Voir sur GitHub↗

    DateTools is a date manipulation library for iOS applications that provides utilities for date arithmetic, range management, and relative time formatting. It functions as a set of tools to shift dates by specific units, calculate durations between timestamps, and convert dates into localized, human-readable strings. The library specializes in the analysis of time spans, offering systems to define, compare, and organize overlapping or sequential time periods. It includes logic to determine chronological relationships, such as whether dates fall within specific windows or how different time per

    Objective-C
    Voir sur GitHub↗7,186
  • arrow-py/arrowAvatar de arrow-py

    arrow-py/arrow

    9,046Voir sur GitHub↗

    Arrow is a Python date and time library that provides a simplified interface for creating and manipulating timestamps by wrapping the Python standard library. It serves as a tool for managing date objects, handling timezone offsets, and performing relative date calculations. The library is distinguished by its ability to humanize timestamps into natural language relative descriptions across multiple locales and parse human-readable time phrases back into precise date objects. It also features a specialized parser for converting ISO 8601 strings and custom formatted text into date objects. Br

    Python
    Voir sur GitHub↗9,046
  • formkit/tempoAvatar de formkit

    formkit/tempo

    2,581Voir sur GitHub↗

    Tempo is a JavaScript date manipulation library that provides a suite of tools for parsing, formatting, and calculating dates and times. It serves as a date arithmetic engine, a locale-aware formatter, and a timezone offset manager for native JavaScript date objects. The library includes a dedicated ISO 8601 date parser for validating and converting standardized strings into date objects. It handles geographic normalization through IANA timezone offset management and utilizes the native Internationalization API for region-specific date formatting. The project covers a broad range of date and

    TypeScriptdatedate-formattingdatetime
    Voir sur GitHub↗2,581
  • moment/momentAvatar de moment

    moment/moment

    47,965Voir sur GitHub↗

    Moment is a JavaScript date manipulation library used for parsing, validating, manipulating, and formatting dates and times. It provides a system for converting date strings into structured objects using the ISO 8601 standard or custom tokens. The library includes a timezone management tool for handling UTC offsets and geographic timezones, ensuring accurate date calculations across different regions. It features an internationalized date formatter and a relative time calculator to render timestamps as human-friendly durations adapted to various cultural locales and languages. The project co

    JavaScript
    Voir sur GitHub↗47,965
Voir les 30 alternatives à SwiftDate→

Questions fréquentes

Que fait malcommac/swiftdate ?

SwiftDate is a date manipulation library for the Swift programming language. It provides a toolkit for parsing, validating, and formatting dates, times, and timezones.

Quelles sont les fonctionnalités principales de malcommac/swiftdate ?

Les fonctionnalités principales de malcommac/swiftdate sont : Date Manipulation Utilities, Date and Time Libraries, Arithmetic Logic, Numeric and Date Formatting, ISO8601 Serialization, Standard Format Recognizers, Fluent Date Processing, Relative Date Formatting.

Quelles sont les alternatives open-source à malcommac/swiftdate ?

Les alternatives open-source à malcommac/swiftdate incluent : matthewyork/datetools — DateTools is a date manipulation library for iOS applications that provides utilities for date arithmetic, range… arrow-py/arrow — Arrow is a Python date and time library that provides a simplified interface for creating and manipulating timestamps… formkit/tempo — Tempo is a JavaScript date manipulation library that provides a suite of tools for parsing, formatting, and… moment/moment — Moment is a JavaScript date manipulation library used for parsing, validating, manipulating, and formatting dates and… python-pendulum/pendulum — Pendulum is a Python datetime library used for creating, manipulating, and formatting date and time objects with… spencermountain/spacetime — Spacetime is a JavaScript timezone library and date manipulation framework designed for parsing, formatting, and…