I am using Duration and it prints me
PT2M1.06234S
Does that mean that the duration represents 2 minutes and 1.06 seconds?
I am using Duration and it prints me
PT2M1.06234S
Does that mean that the duration represents 2 minutes and 1.06 seconds?
Does that mean that the duration represents 2 minutes and 1.06 seconds?
Yes.
This format is defined in ISO 8601. Read more about it on Wikipedia. From there:
Pis the duration designator (for period) placed at the start of the duration representation.
Ythe number of years.Mthe number of months.Wthe number of weeks.Dthe number of days.Tis the time designator that precedes the time components of the representation.
Hthe number of hours.Mthe number of minutes.Sthe number of seconds.