зеркало из https://github.com/mozilla/pjs.git
Renamed displayDateEnd to displayEndDate
This commit is contained in:
Родитель
111babe8b8
Коммит
634908caef
|
@ -2458,20 +2458,20 @@ NS_IMETHODIMP oeICalEventDisplayImpl::SetDisplayDate( PRTime aNewVal )
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP oeICalEventDisplayImpl::GetDisplayDateEnd( PRTime *aRetVal )
|
||||
NS_IMETHODIMP oeICalEventDisplayImpl::GetDisplayEndDate( PRTime *aRetVal )
|
||||
{
|
||||
#ifdef ICAL_DEBUG_ALL
|
||||
printf( "oeICalEventDisplayImpl::GetDisplayDateEnd()\n" );
|
||||
printf( "oeICalEventDisplayImpl::GetDisplayEndDate()\n" );
|
||||
#endif
|
||||
*aRetVal = ConvertToPrtime( m_displaydateend );
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
NS_IMETHODIMP oeICalEventDisplayImpl::SetDisplayDateEnd( PRTime aNewVal )
|
||||
NS_IMETHODIMP oeICalEventDisplayImpl::SetDisplayEndDate( PRTime aNewVal )
|
||||
{
|
||||
#ifdef ICAL_DEBUG_ALL
|
||||
printf( "oeICalEventDisplayImpl::SetDisplayDateEnd()\n" );
|
||||
printf( "oeICalEventDisplayImpl::SetDisplayEndDate()\n" );
|
||||
#endif
|
||||
m_displaydateend = ConvertFromPrtime( aNewVal );
|
||||
return NS_OK;
|
||||
|
|
|
@ -1371,14 +1371,14 @@ void oeICalImpl::ChopAndAddEventToEnum( struct icaltimetype initialdisplaydate,
|
|||
|
||||
if( icaltime_compare( endofday, eventenddate ) < 0 ) {
|
||||
enddateinms = ConvertToPrtime( endofday );
|
||||
eventDisplay->SetDisplayDateEnd( enddateinms );
|
||||
eventDisplay->SetDisplayEndDate( enddateinms );
|
||||
startdate = endofday;
|
||||
icaltime_adjust( &startdate, 0, 0, 0, 1 );
|
||||
if( icaltime_compare( startdate, checkenddate ) >= 0 )
|
||||
break;
|
||||
} else {
|
||||
enddateinms = ConvertToPrtime( eventenddate );
|
||||
eventDisplay->SetDisplayDateEnd( enddateinms );
|
||||
eventDisplay->SetDisplayEndDate( enddateinms );
|
||||
break;
|
||||
}
|
||||
} while ( 1 );
|
||||
|
|
|
@ -153,7 +153,7 @@ interface oeIICalEventDisplay : oeIICalEvent
|
|||
{
|
||||
readonly attribute oeIICalEvent event;
|
||||
attribute PRTime displayDate;
|
||||
attribute PRTime displayDateEnd;
|
||||
attribute PRTime displayEndDate;
|
||||
};
|
||||
|
||||
[scriptable, uuid(d44987b4-1dd1-11b2-9783-8a78ed685caf)]
|
||||
|
|
Загрузка…
Ссылка в новой задаче