Skip to content
Snippets Groups Projects
Commit 704ca190 authored by 박신혁's avatar 박신혁
Browse files

dd

parent 8935c1ae
No related branches found
No related tags found
No related merge requests found
......@@ -54,10 +54,15 @@
* open holiday ics파일
* 개선한 점 : 한국 여행자 등에게 도움이 될 수 있도록 한국어로 번역
* google GPS API 사용법
* http://git.ajou.ac.kr/open-source-2018-spring/Google_GPS_API_Kotlin
* python - ics parser
* https://github.com/oblique63/Python-GoogleCalendarParser
* 기존 파이썬 ics parser -> kotlin ics parser
* googleGPS API 사용법 제시
### License
* Apache 2.0 License
......
......@@ -11,7 +11,7 @@ import org.joda.time.DateTimeZone
import org.joda.time.format.DateTimeFormat
class Parser {
// from RRULE:FREQ=DAILY;COUNT=5 to Daily, 5x...
fun parseRepeatInterval(fullString: String, startTS: Int): RepeatRule {
val parts = fullString.split(";")
var repeatInterval = 0
......@@ -186,7 +186,6 @@ class Parser {
else -> SU
}
// from P0DT1H5M0S to 3900 (seconds)
fun parseDurationSeconds(duration: String): Int {
val weeks = getDurationValue(duration, "W")
val days = getDurationValue(duration, "D")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment