tdate.cxx (89b56da7) | tdate.cxx (27ead02a) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 128 unchanged lines hidden (view full) --- 137 rDay = (sal_uInt16)nTempDays; 138} 139 140// ======================================================================= 141 142Date::Date() 143{ 144#if defined( OS2 ) | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 128 unchanged lines hidden (view full) --- 137 rDay = (sal_uInt16)nTempDays; 138} 139 140// ======================================================================= 141 142Date::Date() 143{ 144#if defined( OS2 ) |
145 DATETIME aDateTime; | 145 PM_DATETIME aDateTime; |
146 DosGetDateTime( &aDateTime ); 147 148 // Datum zusammenbauen 149 nDate = ((sal_uIntPtr)aDateTime.day) + 150 (((sal_uIntPtr)aDateTime.month)*100) + 151 (((sal_uIntPtr)aDateTime.year)*10000); 152#elif defined WNT 153 SYSTEMTIME aDateTime; --- 337 unchanged lines hidden --- | 146 DosGetDateTime( &aDateTime ); 147 148 // Datum zusammenbauen 149 nDate = ((sal_uIntPtr)aDateTime.day) + 150 (((sal_uIntPtr)aDateTime.month)*100) + 151 (((sal_uIntPtr)aDateTime.year)*10000); 152#elif defined WNT 153 SYSTEMTIME aDateTime; --- 337 unchanged lines hidden --- |