| java.lang.Object | |
| ↳ | com.google.gdata.data.media.mediarss.NormalPlayTime |
Time specification object which tries to conform to section 3.6 of RFC 2326 (Normal Play Time). It does not support ranges. It only supports a millisecond precision. Any time more precise than that will be lost when parsing.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| NOW | The NormalPlayType 'now' | ||||||||||
| isNow | |||||||||||
| ms | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a NormalPlayTime object.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets the standard
hh:mm:ss.fraction representation
for this object. | |||||||||||
Gets the standard
seconds.fraction representation
for this object. | |||||||||||
Returns the offset it milliseconds, -1l for NOW.
| |||||||||||
Check whether this time is the special 'now' time.
| |||||||||||
Parses a NormalPlayTime object and return it.
| |||||||||||
Gets a valid string representation (seconds "." fraction).
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a NormalPlayTime object.
If you want 'NOW', use the constant NOW.
| ms | Time offset, in milliseconds |
|---|
Gets the standard hh:mm:ss.fraction representation
for this object.
hh:mm:ss.fraction or "now"
Gets the standard seconds.fraction representation
for this object.
seconds.fraction or "now"
Returns the offset it milliseconds, -1l for NOW.
Check whether this time is the special 'now' time.
Parses a NormalPlayTime object and return it.
| stringRep | String representation |
|---|
| ParseException | if the string representation could not be parsed |
|---|
Gets a valid string representation (seconds "." fraction).