{"id":20608943,"url":"https://github.com/mybatis/typehandlers-threeten-extra","last_synced_at":"2025-04-15T04:24:31.766Z","repository":{"id":18211429,"uuid":"83807181","full_name":"mybatis/typehandlers-threeten-extra","owner":"mybatis","description":"MyBatis type handlers for ThreeTen Extra (http://www.threeten.org/threeten-extra/)","archived":false,"fork":false,"pushed_at":"2025-04-13T00:28:05.000Z","size":1088,"stargazers_count":6,"open_issues_count":1,"forks_count":5,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-13T01:25:51.235Z","etag":null,"topics":["java"],"latest_commit_sha":null,"homepage":null,"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/mybatis.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-03-03T14:34:53.000Z","updated_at":"2025-04-13T00:27:44.000Z","dependencies_parsed_at":"2024-01-03T06:40:34.931Z","dependency_job_id":"e4398673-f5f1-4b80-bf9f-d14aa24b6a38","html_url":"https://github.com/mybatis/typehandlers-threeten-extra","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybatis%2Ftypehandlers-threeten-extra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybatis%2Ftypehandlers-threeten-extra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybatis%2Ftypehandlers-threeten-extra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybatis%2Ftypehandlers-threeten-extra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mybatis","download_url":"https://codeload.github.com/mybatis/typehandlers-threeten-extra/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249004900,"owners_count":21196977,"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":["java"],"created_at":"2024-11-16T10:12:17.187Z","updated_at":"2025-04-15T04:24:31.744Z","avatar_url":"https://github.com/mybatis.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MyBatis Type Handlers for ThreeTen-Extra\n\n[![Java CI](https://github.com/mybatis/typehandlers-threeten-extra/actions/workflows/ci.yaml/badge.svg)](https://github.com/mybatis/typehandlers-threeten-extra/actions/workflows/ci.yaml)\n[![Coverage Status](https://coveralls.io/repos/github/mybatis/typehandlers-threeten-extra/badge.svg?branch=master)](https://coveralls.io/github/mybatis/typehandlers-threeten-extra?branch=master)\n[![Maven central](https://maven-badges.herokuapp.com/maven-central/org.mybatis/mybatis-typehandlers-threeten-extra/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.mybatis/mybatis-typehandlers-threeten-extra)\n[![Sonatype Nexus (Snapshots)](https://img.shields.io/nexus/s/https/oss.sonatype.org/org.mybatis/mybatis-typehandlers-threeten-extra.svg)](https://oss.sonatype.org/content/repositories/snapshots/org/mybatis/mybatis-typehandlers-threeten-extra/)\n[![License](https://img.shields.io/:license-apache-brightgreen.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)\n\n![mybatis](https://mybatis.org/images/mybatis-logo.png)\n\nThe MyBatis type handlers supporting types of [ThreeTen-Extra](https://www.threeten.org/threeten-extra/).\n\n## Installation\n\nIf you are using Maven add the following dependency to your `pom.xml`:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003eorg.mybatis\u003c/groupId\u003e\n  \u003cartifactId\u003emybatis-typehandlers-threeten-extra\u003c/artifactId\u003e\n  \u003cversion\u003e1.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nIf you are using Gradle add the following dependency to your `build.gradle`:\n\n```groovy\ncompile(\"org.mybatis:mybatis-typehandlers-threeten-extra:1.0.0\")\n```\n\n## Configuration\n\nAdd following configuration to your `mybatis-config.xml`:\n\n```xml\n\u003ctypeHandlers\u003e\n  \u003c!-- ... --\u003e\n  \u003cpackage name=\"org.mybatis.typehandlers.threetenextra\"/\u003e\n\u003c/typeHandlers\u003e\n```\n\n## Supported types\n\nThe following type handlers are supported:\n\n| Type handler | ThreeTen-Extra type | JDBC types |\n| ------------ | ------------------- | ---------- |\n| `DayOfMonthTypeHandler` | `org.threeten.extra.DayOfMonth` | `INTEGER` |\n| `DayOfYearTypeHandler` | `org.threeten.extra.DayOfYear` | `INTEGER` |\n| `SecondsTypeHandler` | `org.threeten.extra.Seconds` | `INTEGER` |\n| `MinutesTypeHandler` | `org.threeten.extra.Minutes` | `INTEGER` |\n| `HoursTypeHandler` | `org.threeten.extra.Hours` | `INTEGER` |\n| `DaysTypeHandler` | `org.threeten.extra.Days` | `INTEGER` |\n| `WeeksTypeHandler` | `org.threeten.extra.Weeks` | `INTEGER` |\n| `MonthsTypeHandler` | `org.threeten.extra.Months` | `INTEGER` |\n| `YearsTypeHandler` | `org.threeten.extra.Years` | `INTEGER` |\n| `YearWeekTypeHandler` | `org.threeten.extra.YearWeek` | `VARCHAR` or `LONGVARCHAR` |\n| `YearQuarterTypeHandler` | `org.threeten.extra.YearQuarter` | `VARCHAR` or `LONGVARCHAR` |\n\n\u003e **Note:**\n\u003e\n\u003e For more details of type handler, please refer to \"[MyBatis 3 REFERENCE DOCUMENTATION](https://www.mybatis.org/mybatis-3/configuration.html#typeHandlers)\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmybatis%2Ftypehandlers-threeten-extra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmybatis%2Ftypehandlers-threeten-extra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmybatis%2Ftypehandlers-threeten-extra/lists"}