{"id":21619080,"url":"https://github.com/bannzai/eracalculator","last_synced_at":"2025-04-11T08:42:56.543Z","repository":{"id":63905205,"uuid":"184267618","full_name":"bannzai/EraCalculator","owner":"bannzai","description":"Last library of 平成.","archived":false,"fork":false,"pushed_at":"2019-04-30T15:32:53.000Z","size":30,"stargazers_count":10,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T05:00:00.969Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bannzai.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":"2019-04-30T13:31:38.000Z","updated_at":"2021-11-14T12:59:45.000Z","dependencies_parsed_at":"2022-11-28T19:20:30.819Z","dependency_job_id":null,"html_url":"https://github.com/bannzai/EraCalculator","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/bannzai%2FEraCalculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bannzai%2FEraCalculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bannzai%2FEraCalculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bannzai%2FEraCalculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bannzai","download_url":"https://codeload.github.com/bannzai/EraCalculator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248362518,"owners_count":21091145,"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-24T23:07:50.693Z","updated_at":"2025-04-11T08:42:56.515Z","avatar_url":"https://github.com/bannzai.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EraCalculator\nLast library of 平成.\nSo, in Japan change era. This library is my memorial library.\n\n## Usage\nEraCalculator can convert other Era years.\nThis example is Calculates what year of 大化 was when the 平成 was 大化.\n\n```swift\nlet expected = Era(eraType: .大化, year: 1345)\nlet got = EraType.平成.convert(to: EraType.大化)\nXCTAssertEqual(got.eraType, expected.eraType)\nXCTAssertEqual(got.year, expected.year)\nXCTAssertEqual(got.description, \"大化 1345年\")\n```\n\n## LICENSE\nEraCalculator is available under the MIT license.\nSee the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbannzai%2Feracalculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbannzai%2Feracalculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbannzai%2Feracalculator/lists"}