is there any function like "strptime" in java
<p>suppose there is a time_string like: <code>"wallclock(2011-09-22T01:52:00)"</code></p>

<p>in C language, I can use <code>"strptime(time_string, "wallclock(%Y-%m-%dT%H:%M:%S)", &amp;tm)</code>"</p>

<p>to get date time and store it into the struct tm, </p>

<p>and then use <code>mktime(&amp;tm)</code> to get the date in seconds</p>

<p>But in Java, I find no way about how to transfer string <code>"wallclock(2011-09-22T01:52:00)"</code>,</p>

<p>is there any way to do this job?  thank you :-)</p>
