| 1 | /* |
| 2 | * Copyright (C) 1999-2000 Harri Porten ([email protected]) |
| 3 | * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. |
| 4 | * Copyright (C) 2009 Google Inc. All rights reserved. |
| 5 | * |
| 6 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 7 | * |
| 8 | * The contents of this file are subject to the Mozilla Public License Version |
| 9 | * 1.1 (the "License"); you may not use this file except in compliance with |
| 10 | * the License. You may obtain a copy of the License at |
| 11 | * http://www.mozilla.org/MPL/ |
| 12 | * |
| 13 | * Software distributed under the License is distributed on an "AS IS" basis, |
| 14 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| 15 | * for the specific language governing rights and limitations under the |
| 16 | * License. |
| 17 | * |
| 18 | * The Original Code is Mozilla Communicator client code, released |
| 19 | * March 31, 1998. |
| 20 | * |
| 21 | * The Initial Developer of the Original Code is |
| 22 | * Netscape Communications Corporation. |
| 23 | * Portions created by the Initial Developer are Copyright (C) 1998 |
| 24 | * the Initial Developer. All Rights Reserved. |
| 25 | * |
| 26 | * Contributor(s): |
| 27 | * |
| 28 | * Alternatively, the contents of this file may be used under the terms of |
| 29 | * either of the GNU General Public License Version 2 or later (the "GPL"), |
| 30 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 31 | * in which case the provisions of the GPL or the LGPL are applicable instead |
| 32 | * of those above. If you wish to allow use of your version of this file only |
| 33 | * under the terms of either the GPL or the LGPL, and not to allow others to |
| 34 | * use your version of this file under the terms of the MPL, indicate your |
| 35 | * decision by deleting the provisions above and replace them with the notice |
| 36 | * and other provisions required by the GPL or the LGPL. If you do not delete |
| 37 | * the provisions above, a recipient may use your version of this file under |
| 38 | * the terms of any one of the MPL, the GPL or the LGPL. |
| 39 | * |
| 40 | */ |
| 41 | |
| 42 | #ifndef DateConversion_h |
| 43 | #define DateConversion_hcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/runtime/DateConversion.h:43:9`! |
| 44 | |
| 45 | #include "UString.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/UString.h`/ |
| 46 | |
| 47 | namespace JSCcxx . . $ QTJSC/ { |
| 48 | |
| 49 | class ExecStatecxx . . $ QTJSC/ExecState#; |
| 50 | struct GregorianDateTimecxx . . $ QTJSC/GregorianDateTime#; |
| 51 | |
| 52 | static const unsigned DateConversionBufferSizecxx . . $ QTJSC/DateConversionBufferSize. = 100; |
| 53 | typedef char DateConversionBuffercxx . . $ QTJSC/DateConversionBuffer#[DateConversionBufferSizecxx . . $ QTJSC/DateConversionBufferSize.]; |
| 54 | |
| 55 | double parseDatecxx . . $ QTJSC/parseDate(c3266bca1a95c47c).(ExecStatecxx . . $ QTJSC/ExecState#* exec, const UStringcxx . . $ QTJSC/UString#&); |
| 56 | void formatDatecxx . . $ QTJSC/formatDate(e27d52a808d9d4cd).(const GregorianDateTimecxx . . $ QTJSC/GregorianDateTime#&, DateConversionBuffercxx . . $ QTJSC/DateConversionBuffer#&); |
| 57 | void formatDateUTCVariantcxx . . $ QTJSC/formatDateUTCVariant(e27d52a808d9d4cd).(const GregorianDateTimecxx . . $ QTJSC/GregorianDateTime#&, DateConversionBuffercxx . . $ QTJSC/DateConversionBuffer#&); |
| 58 | void formatTimecxx . . $ QTJSC/formatTime(e27d52a808d9d4cd).(const GregorianDateTimecxx . . $ QTJSC/GregorianDateTime#&, DateConversionBuffercxx . . $ QTJSC/DateConversionBuffer#&); |
| 59 | void formatTimeUTCcxx . . $ QTJSC/formatTimeUTC(e27d52a808d9d4cd).(const GregorianDateTimecxx . . $ QTJSC/GregorianDateTime#&, DateConversionBuffercxx . . $ QTJSC/DateConversionBuffer#&); |
| 60 | |
| 61 | } // namespace JSC |
| 62 | |
| 63 | #endif // DateConversion_h |