Skip to content

Commit

Permalink
Merge pull request #3 from haithngn/develop
Browse files Browse the repository at this point in the history
- Update readme file
  • Loading branch information
haithngn authored May 7, 2017
2 parents 05c6771 + a80ad44 commit 5de8985
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
28 changes: 27 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,27 @@
# SoluDate
# SoluDate
Sonar Date to Lunar Date Converter

### Features
- [x] Convert from Sonar date (Date) to Lunar date
- [x] Convert from Lunar date (LuDate) to Sonar date
- [ ] Convert from Lunar date (Date) to Sonar date

### Installation
* Carthage
> github "haithngn/SoluDate"
### Requirements
* iOS 8.0+
* Xcode 8.0+

### Usage
```swift
let date: LuDate = SoluDateConverter.lunarDateFromSonarDate(Date())

print("Lunar Date \(date.day) \(date.month) \(date.year)")
```
### Thanks
* Converting algorithm from https://www.informatik.uni-leipzig.de/~duc/amlich/calrules.html
* Thanks @mattneub guide me to port Java code to Swift correctly.
### License
Licensed under the MIT license. See LICENSE for details.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B58CA6E81EBF0D4400F03677"
BlueprintIdentifier = "B58CA6F61EBF157200F03677"
BuildableName = "SoluDate.framework"
BlueprintName = "SoluDate"
ReferencedContainer = "container:SoluDate.xcodeproj">
Expand Down

0 comments on commit 5de8985

Please sign in to comment.