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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
222 * we consult the `default_to_gmt' to decide whether the string should | 222 * we consult the `default_to_gmt' to decide whether the string should |
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 NSPR_API(PRStatus) PR_ParseTimeString ( |
wtc
2011/07/13 17:01:31
Nit: add this blank line back.
This file is third
shinyak (Google)
2011/07/13 23:28:33
Done.
| |
233 BASE_API PRStatus PR_ParseTimeString ( | |
234 const char *string, | 233 const char *string, |
235 PRBool default_to_gmt, | 234 PRBool default_to_gmt, |
236 PRTime *result); | 235 PRTime *result); |
237 | 236 |
238 #endif // BASE_PRTIME_H__ | 237 #endif // BASE_PRTIME_H__ |
OLD | NEW |