OLD | NEW |
1 /* Portions are Copyright (C) 2011 Google Inc */ | 1 /* Portions are Copyright (C) 2011 Google Inc */ |
2 /* ***** BEGIN LICENSE BLOCK ***** | 2 /* ***** BEGIN LICENSE BLOCK ***** |
3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
4 * | 4 * |
5 * The contents of this file are subject to the Mozilla Public License Version | 5 * The contents of this file are subject to the Mozilla Public License Version |
6 * 1.1 (the "License"); you may not use this file except in compliance with | 6 * 1.1 (the "License"); you may not use this file except in compliance with |
7 * the License. You may obtain a copy of the License at | 7 * the License. You may obtain a copy of the License at |
8 * http://www.mozilla.org/MPL/ | 8 * http://www.mozilla.org/MPL/ |
9 * | 9 * |
10 * Software distributed under the License is distributed on an "AS IS" basis, | 10 * Software distributed under the License is distributed on an "AS IS" basis, |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 * be interpreted relative to the local time zone (PR_FALSE) or GMT (PR_TRUE). | 223 * be interpreted relative to the local time zone (PR_FALSE) or GMT (PR_TRUE). |
224 * The correct value for this argument depends on what standard specified | 224 * The correct value for this argument depends on what standard specified |
225 * the time string which you are parsing. | 225 * the time string which you are parsing. |
226 */ | 226 */ |
227 | 227 |
228 /* | 228 /* |
229 * This is the only funtion that should be called from outside base, and only | 229 * This is the only funtion that should be called from outside base, and only |
230 * from the unit test. | 230 * from the unit test. |
231 */ | 231 */ |
232 | 232 |
233 BASE_API PRStatus PR_ParseTimeString ( | 233 NSPR_API(PRStatus) PR_ParseTimeString ( |
234 const char *string, | 234 const char *string, |
235 PRBool default_to_gmt, | 235 PRBool default_to_gmt, |
236 PRTime *result); | 236 PRTime *result); |
237 | 237 |
238 #endif // BASE_PRTIME_H__ | 238 #endif // BASE_PRTIME_H__ |
OLD | NEW |