How to read the duration of a video returned from Youtube API Kotlin/Java

后端 未结 0 1607
有刺的猬
有刺的猬 2021-01-01 22:35

I basically want to convert this ISO format "PT18M8S" to something like 13:09 or 10000ms I\'m getting this format from Youtube API 3:

Picture of the Json re

相关标签:
回答
  • 消灭零回复
提交回复
热议问题