OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999-2000 Harri Porten (porten@kde.org) | 2 * Copyright (C) 1999-2000 Harri Porten (porten@kde.org) |
3 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. | 3 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. |
4 * Copyright (C) 2009 Google Inc. All rights reserved. | 4 * Copyright (C) 2009 Google Inc. All rights reserved. |
5 * Copyright (C) 2007-2009 Torch Mobile, Inc. | 5 * Copyright (C) 2007-2009 Torch Mobile, Inc. |
6 * Copyright (C) 2010 &yet, LLC. (nate@andyet.net) | 6 * Copyright (C) 2010 &yet, LLC. (nate@andyet.net) |
7 * | 7 * |
8 * The Original Code is Mozilla Communicator client code, released | 8 * The Original Code is Mozilla Communicator client code, released |
9 * March 31, 1998. | 9 * March 31, 1998. |
10 * | 10 * |
(...skipping 1090 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1101 | 1101 |
1102 stringBuilder.append(utcOffset > 0 ? '+' : '-'); | 1102 stringBuilder.append(utcOffset > 0 ? '+' : '-'); |
1103 int absoluteUTCOffset = abs(utcOffset); | 1103 int absoluteUTCOffset = abs(utcOffset); |
1104 stringBuilder.append(twoDigitStringFromNumber(absoluteUTCOffset / 60)); | 1104 stringBuilder.append(twoDigitStringFromNumber(absoluteUTCOffset / 60)); |
1105 stringBuilder.append(twoDigitStringFromNumber(absoluteUTCOffset % 60)); | 1105 stringBuilder.append(twoDigitStringFromNumber(absoluteUTCOffset % 60)); |
1106 | 1106 |
1107 return stringBuilder.toString(); | 1107 return stringBuilder.toString(); |
1108 } | 1108 } |
1109 | 1109 |
1110 } // namespace WTF | 1110 } // namespace WTF |
OLD | NEW |