summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-02-15 11:58:31 +0100
committerJulien Nabet <serval2412@yahoo.fr>2015-02-15 12:02:05 +0100
commit836481e35999c3722f1c4fdef8c86c8c098a2492 (patch)
tree0c10e16ea6d96a22959758751b84944466185302 /include
parenta0956d3960422c6804a749ababc58964522f8d66 (diff)
unusedcode.easy
Remove getZoneOffsetInMillis, getDSTOffsetInMillis + getCombinedOffsetInMillis Change-Id: I7bf5b3e9e2e84c2f0add263083d6e7e9057db8ac
Diffstat (limited to 'include')
-rw-r--r--include/unotools/calendarwrapper.hxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/unotools/calendarwrapper.hxx b/include/unotools/calendarwrapper.hxx
index de7443bd3dd5..68ee61c59f4f 100644
--- a/include/unotools/calendarwrapper.hxx
+++ b/include/unotools/calendarwrapper.hxx
@@ -76,13 +76,6 @@ public:
sal_Int16 getNumberOfDaysInWeek() const;
OUString getDisplayName( sal_Int16 nCalendarDisplayIndex, sal_Int16 nIdx, sal_Int16 nNameType ) const;
- /** Convenience method to get timezone offset in milliseconds, taking both
- fields ZONE_OFFSET and ZONE_OFFSET_SECOND_MILLIS into account. */
- sal_Int32 getZoneOffsetInMillis() const;
- /** Convenience method to get DST offset in milliseconds, taking both
- fields DST_OFFSET and DST_OFFSET_SECOND_MILLIS into account. */
- sal_Int32 getDSTOffsetInMillis() const;
-
// wrapper implementations of XExtendedCalendar
OUString getDisplayString( sal_Int32 nCalendarDisplayCode, sal_Int16 nNativeNumberMode ) const;
@@ -115,14 +108,6 @@ public:
/// get the DateTime as a local (!) Gregorian DateTime
inline DateTime getGregorianDateTime() const
{ return aEpochStart + getLocalDateTime(); }
-
-private:
-
- /** get timezone or DST offset in milliseconds, fields are
- CalendarFieldIndex ZONE_OFFSET and ZONE_OFFSET_SECOND_MILLIS
- respectively DST_OFFSET and DST_OFFSET_SECOND_MILLIS.
- */
- sal_Int32 getCombinedOffsetInMillis( sal_Int16 nParentFieldIndex, sal_Int16 nChildFieldIndex ) const;
};
#endif