Re: CTCfRule.setTimePeriod() & STTimePeriod

Bill Stackhouse <[email protected]>
Newsgroups gmane.comp.jakarta.poi.user
Message-ID <pony-afebabf3a71f5528a7d9a091b4dddb8539d0735e-12e1a8dccc3093bb1ef361d34b68f7293b99f51f@user.poi.apache.org>
The STTimePeriod class is missing from the poi-ooxml-schemas jar, and I hope in a future release it can be added. My solution was to add the source to my project in the correct package,  and now I can create conditional format rules for the "cells that contain" dates.

On 2020/11/24 16:37:31, Bill Stackhouse <[email protected]> wrote: 
> I am using CTCfRule to create conditional formats and I can't find STTimePeriod so I can use CTCfRule.setTimePeriod(). Can anyone offer suggestions how to do this? My goal is to have the Excel rule display Today, Yesterday rather than Formula: xxx
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.