buf.append( "\n" ); buf.append( "publishDate = '" ); buf.append( getPublishDate() ); buf.append( "'" ); buf.append( "\n" );
PublishDate publishDate = siteRenderingContext.getDecoration().getPublishDate(); DateFormat dateFormat = new SimpleDateFormat( publishDate.getFormat(), locale ); context.put( "dateFormat", dateFormat );
result = result && ( getGoogleAdSenseSlot() == null ? that.getGoogleAdSenseSlot() == null : getGoogleAdSenseSlot().equals( that.getGoogleAdSenseSlot() ) ); result = result && ( getGoogleAnalyticsAccountId() == null ? that.getGoogleAnalyticsAccountId() == null : getGoogleAnalyticsAccountId().equals( that.getGoogleAnalyticsAccountId() ) ); result = result && ( getPublishDate() == null ? that.getPublishDate() == null : getPublishDate().equals( that.getPublishDate() ) ); result = result && ( getVersion() == null ? that.getVersion() == null : getVersion().equals( that.getVersion() ) ); result = result && ( getEdit() == null ? that.getEdit() == null : getEdit().equals( that.getEdit() ) );
if ( decorationModel.getPublishDate() != null ) writePublishDate( (PublishDate) decorationModel.getPublishDate(), "publishDate", serializer );
String dateFormat = siteRenderingContext.getDecoration().getPublishDate().getFormat();
if ( child.isDefaultPublishDate() && parent.getPublishDate() != null ) child.setPublishDate( parent.getPublishDate().clone() );