The format of the characterstring shall be as:P[yY][mM][dD][T[hH][nM][s[.s]S]]where:• y: The number of years (integer, >= 0, not restricted)• m: The number of months (integer, >=0, not restricted)• d: The number of days (integer, >=0, not restricted)• h: The number of hours (integer, >=0, not restricted)• n: The number of minutes (integer, >=0, not restricted)• s: The number of seconds or fraction of seconds (real or integer, >=0, notrestricted). If fractions of a second are used, SCORM further restricts thestring to a maximum of 2 digits (e.g., 34.45 - valid, 34.45454545 - notvalid)• Zero-padding of the values shall be supportedThe character literals designators• P• Y• M• D• T• H• M• Sshall appear if the corresponding non-zero value is present.If the data model element contains a value, then the designator P shall be present.If the value of years, months, days, hours, minutes or seconds is zero, then thevalue and corresponding designation may be omitted, but at least one designatorand value shall be present in addition to the designator P.The designator T shall be omitted if all of the time components (hours, minutes,seconds) are not used. A zero value may be used with any of the time components(e.g., PT0S).
Comments
Comment #1
coolestdude1 commented