{"id":18657323,"url":"https://github.com/jmrozanec/htime","last_synced_at":"2025-04-11T18:31:31.325Z","repository":{"id":33058568,"uuid":"36695039","full_name":"jmrozanec/htime","owner":"jmrozanec","description":"Human readable datetime formatting for Java.","archived":false,"fork":false,"pushed_at":"2018-09-14T02:59:53.000Z","size":24,"stargazers_count":12,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T17:07:04.294Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://cron-utils.com","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jmrozanec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-01T23:26:18.000Z","updated_at":"2025-01-13T14:50:46.000Z","dependencies_parsed_at":"2022-09-12T17:23:09.872Z","dependency_job_id":null,"html_url":"https://github.com/jmrozanec/htime","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrozanec%2Fhtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrozanec%2Fhtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrozanec%2Fhtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrozanec%2Fhtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmrozanec","download_url":"https://codeload.github.com/jmrozanec/htime/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248458483,"owners_count":21107088,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T07:27:41.902Z","updated_at":"2025-04-11T18:31:30.337Z","avatar_url":"https://github.com/jmrozanec.png","language":"Java","readme":"htime\n===========\nA Java library to make it easy for humans format a date. You no longer need to remember date time formatting chars: just write an example, and you will get the appropriate formatter. \n\nThe project follows the [Semantic Versioning Convention](http://semver.org/) and uses Apache 2.0 license.\n\n[![Flattr this!](https://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=jmrozanec\u0026url=https://github.com/jmrozanec/htime)\n[![Build Status](https://travis-ci.org/jmrozanec/htime.png?branch=master)](https://travis-ci.org/jmrozanec/htime)\n\n[![Project stats by OpenHub](https://www.openhub.net/p/htime/widgets/project_thin_badge.gif)](https://www.openhub.net/p/htime/)\n\n**Download**\n\nhtime is available on [Maven central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.cronutils%22) repository.\n\n    \u003cdependency\u003e\n        \u003cgroupId\u003ecom.cronutils\u003c/groupId\u003e\n        \u003cartifactId\u003ehtime\u003c/artifactId\u003e\n        \u003cversion\u003e1.0.0\u003c/version\u003e\n    \u003c/dependency\u003e\n\n\n**Features**\n\n * Provide any date time format written in human readable text, and get the appropriate date time formatter!\n\n**Usage Examples**\n\n***Get JDK SimpleDateFormatter***\n\n    //define your own expressions to be formatted\n    HDateTimeFormat hDateTimeFormat =\n            HDateTimeFormatBuilder.getInstance().forJDK12().getFormatter();\n    SimpleDateFormat jdkTimeFormatter = hDateTimeFormat.forPattern(\"June 9, 2011\");\n    String formattedDate = jdkTimeFormatter.format(new Date());\n    //formattedDate will be ex.: \"June 9, 2015\"\n\n***Get JodaTime DateTimeFormatter***\n\n    //define your own expressions to be formatted\n    HDateTimeFormat hDateTimeFormat =\n            HDateTimeFormatBuilder.getInstance().forJodaTime().getFormatter();\n    DateTimeFormatter jodaTimeFormatter = hDateTimeFormat.forPattern(\"June 9, 2011\");\n    String formattedDate = jodaTimeFormatter.print(DateTime.now());\n    //formattedDate will be ex.: \"June 9, 2015\"\n\n\n**Contribute \u0026 Support!**\n\nContributions are welcome! You can contribute by\n * star and/or Flattr this repo!\n * requesting or adding new features. Check our [roadmap](https://github.com/jmrozanec/htime/wiki/Roadmap)!\n * enhancing existing code: ex.: provide more accurate description cases\n * testing\n * enhancing documentation\n * providing translations to support new locales\n * bringing suggestions and reporting bugs\n * spreading the word / telling us how you use it!\n\n\nCheck [our page](http://cronutils.com)! For stats about the project, you can visit our [OpenHUB profile](https://www.openhub.net/p/htime).\n\nSupport us donating once or by subscription through Flattr!\n\n[![Flattr this!](https://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=jmrozanec\u0026url=https://github.com/jmrozanec/htime)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmrozanec%2Fhtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmrozanec%2Fhtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmrozanec%2Fhtime/lists"}