41 |
import java.io.ObjectInputStream; |
import java.io.ObjectInputStream; |
42 |
import java.io.ObjectOutputStream; |
import java.io.ObjectOutputStream; |
43 |
import java.io.Serializable; |
import java.io.Serializable; |
44 |
|
import java.text.DateFormat; |
45 |
|
import java.text.SimpleDateFormat; |
46 |
|
|
47 |
/** |
/** |
48 |
* <p> |
* <p> |
242 |
* <code>TimeZone</code> instead. |
* <code>TimeZone</code> instead. |
243 |
* @param year the difference between the required year and 1900. |
* @param year the difference between the required year and 1900. |
244 |
* @param month the month as a value between 0 and 11. |
* @param month the month as a value between 0 and 11. |
245 |
* @param day the day as a value between 0 and 31. |
* @param date the day as a value between 0 and 31. |
246 |
* @param hour the hour as a value between 0 and 23, in 24-hour |
* @param hrs the hour as a value between 0 and 23, in 24-hour |
247 |
* clock notation. |
* clock notation. |
248 |
* @param min the minute as a value between 0 and 59. |
* @param min the minute as a value between 0 and 59. |
249 |
* @param sec the second as a value between 0 and 61 (with 60 |
* @param sec the second as a value between 0 and 61 (with 60 |
720 |
* </li> |
* </li> |
721 |
* </ul> |
* </ul> |
722 |
* |
* |
723 |
* @param s The String to parse. |
* @param string The String to parse. |
724 |
* @return The time in milliseconds since the epoch. |
* @return The time in milliseconds since the epoch. |
725 |
* @throws IllegalArgumentException if the string fails to parse. |
* @throws IllegalArgumentException if the string fails to parse. |
726 |
* @deprecated Use DateFormat.parse(String) |
* @deprecated Use DateFormat.parse(String) |