public class XBRLCTimeFilter extends java.lang.Object implements XBRLFacetFilter
| Modifier and Type | Class and Description | 
|---|---|
| static class  | XBRLCTimeFilter.DurationFilterThe Class DurationFilter. | 
| static class  | XBRLCTimeFilter.TimeFilterThe Class TimeFilter. | 
| static class  | XBRLCTimeFilter.TimeFilterPositionThe Enum TimeFilterPosition. | 
| static class  | XBRLCTimeFilter.XBRLCDurationAnyFilterThe Class XBRLCDurationAnyFilter. | 
| static class  | XBRLCTimeFilter.XBRLCDurationDurationFilterThe Class XBRLCDurationDurationFilter. | 
| static class  | XBRLCTimeFilter.XBRLCDurationLongestFilterThe Class XBRLCDurationLongestFilter. | 
| static class  | XBRLCTimeFilter.XBRLCDurationShortestFilterThe Class XBRLCDurationShortestFilter. | 
| static class  | XBRLCTimeFilter.XBRLCTimeAnyFilterThe Class XBRLCTimeAnyFilter. | 
| static class  | XBRLCTimeFilter.XBRLCTimeDateFilterThe Class XBRLCTimeDateFilter. | 
| static class  | XBRLCTimeFilter.XBRLCTimeLatestFilterThe Class XBRLCTimeLatestFilter. | 
| static class  | XBRLCTimeFilter.XBRLCTimeOldestFilterThe Class XBRLCTimeOldestFilter. | 
| static class  | XBRLCTimeFilter.XBRLCTimeSameEndFilterThe Class XBRLCTimeSameEndFilter. | 
| static class  | XBRLCTimeFilter.XBRLCTimeSameInstantFilterThe Class XBRLCTimeSameInstantFilter. | 
| static class  | XBRLCTimeFilter.XBRLCTimeSameStartFilterThe Class XBRLCTimeSameStartFilter. | 
| Constructor and Description | 
|---|
| XBRLCTimeFilter(java.lang.String id,
               XBRLCTimeFilter.DurationFilter durationFilter,
               XBRLCTimeFilter.TimeFilter startFilter,
               XBRLCTimeFilter.TimeFilter endFilter)Instantiates a new XBRLC time filter. | 
| XBRLCTimeFilter(java.lang.String id,
               XBRLCTimeFilter.TimeFilter instantFilter)Instantiates a new XBRLC time filter. | 
| Modifier and Type | Method and Description | 
|---|---|
| static XBRLFacetFilter | compileFilter(net.sf.saxon.s9api.XdmNode filterNode,
             net.sf.saxon.s9api.XPathCompiler xp)Compile filter. | 
| XMLFragment | createFilterNode(DTSContainer dts)Returns a node representing the serialization of this filter so it can be 
 created later from the node. | 
| java.util.GregorianCalendar | getDateEnd(XBRLFilterContext context)Gets the date end. | 
| java.util.GregorianCalendar | getDateInstant(XBRLFilterContext context)Gets the date instant. | 
| java.util.GregorianCalendar | getDateStart(XBRLFilterContext context)Gets the date start. | 
| java.lang.String | getId()Gets the id. | 
| boolean | isDuration()Checks if is duration. | 
| boolean | isInstant()Checks if is instant. | 
| boolean | matches(XBRLFact fact,
       XBRLFilterContext context)Return a boolean value indicating if the fact passes the filter. | 
| boolean | matches(XBRLPeriod p,
       XBRLFilterContext context)Matches. | 
| void | setId(java.lang.String id)Sets the id. | 
public XBRLCTimeFilter(java.lang.String id,
                       XBRLCTimeFilter.TimeFilter instantFilter)
id - the idinstantFilter - the instant filterpublic XBRLCTimeFilter(java.lang.String id,
                       XBRLCTimeFilter.DurationFilter durationFilter,
                       XBRLCTimeFilter.TimeFilter startFilter,
                       XBRLCTimeFilter.TimeFilter endFilter)
id - the iddurationFilter - the duration filterstartFilter - the start filterendFilter - the end filterpublic java.util.GregorianCalendar getDateEnd(XBRLFilterContext context)
context - the contextpublic java.util.GregorianCalendar getDateStart(XBRLFilterContext context)
context - the contextpublic java.util.GregorianCalendar getDateInstant(XBRLFilterContext context)
context - the contextpublic boolean isDuration()
public boolean isInstant()
public boolean matches(XBRLFact fact, XBRLFilterContext context)
XBRLFacetFiltermatches in interface XBRLFacetFilterfact - XBRLFact to testcontext - the contextpublic boolean matches(XBRLPeriod p, XBRLFilterContext context)
p - the pcontext - the contextpublic XMLFragment createFilterNode(DTSContainer dts) throws LoaderException
XBRLFacetFiltercreateFilterNode in interface XBRLFacetFilterdts - the dtsLoaderException - the loader exceptionpublic java.lang.String getId()
getId in interface XBRLFacetFilterpublic static XBRLFacetFilter compileFilter(net.sf.saxon.s9api.XdmNode filterNode, net.sf.saxon.s9api.XPathCompiler xp) throws LoaderException
filterNode - the filter nodexp - the xpLoaderException - the loader exceptionpublic void setId(java.lang.String id)
setId in interface XBRLFacetFilterid - the new idCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa