| View previous topic :: View next topic |
| Author |
Message |
Times Guest
|
Posted: Fri Sep 10, 2004 11:44 am Post subject: parseDeliveryTime |
|
|
Hi
Is 'parseDeliveryTime' implemented ??
Thanks |
|
| Back to top |
|
 |
Peffis Site Admin
Joined: 09 Sep 2003 Posts: 324 Location: Sweden
|
Posted: Fri Sep 10, 2004 1:39 pm Post subject: |
|
|
No it's not I think. Never had the need for it.
But it is probably easy to add it. I haven't looked in the spec for that field but I assume that all primitive parsing methods exists to be able to parse it. Perhaps it's similar to parseDate...but I'm only guessing. Have a look in the MMS Encapsulation doc at wapforum! |
|
| Back to top |
|
 |
J Guest
|
Posted: Fri Sep 24, 2004 12:48 pm Post subject: function parseDeliveryTime |
|
|
function parseDeliveryTime()
{
MMSDecoder::parseValueLength($length);
switch ( $this->data[$this->curp] )
{
case 128:
$this->curp++;
MMSDecoder::parseDate( $this->deliverytimeDate );
break;
case 129:
$this->curp++;
MMSDecoder::parseDeltaSeconds( $this->deliverytimeDeltaSeconds );
break;
default:
}
}
Bye  |
|
| Back to top |
|
 |
Peffis Site Admin
Joined: 09 Sep 2003 Posts: 324 Location: Sweden
|
Posted: Sat Sep 25, 2004 4:59 pm Post subject: |
|
|
| Cool! Thanks for sharing! |
|
| Back to top |
|
 |
|