Package org.fluxtream.core.domain

Examples of org.fluxtream.core.domain.AbstractLocalTimeFacet


            facetCreatedEvent.serverName = parse.getServerName();
            facetCreatedEvent.connectorName = connectorName;
            facetCreatedEvent.objectType = ObjectType.getObjectType(connector, facet.objectType).getName();
            facetCreatedEvent.isLocalTime = facet instanceof AbstractLocalTimeFacet;
            if (facet instanceof AbstractLocalTimeFacet) {
                AbstractLocalTimeFacet localTimeFacet = (AbstractLocalTimeFacet)facet;
                facetCreatedEvent.date = localTimeFacet.date;
            }
            facetCreatedEvent.start = facet.start;
            facetCreatedEvent.end = facet.end;
            facetCreatedEvent.description = facet.fullTextDescription;
View Full Code Here


  @Override
  public void extractValues(T facet, TimeInterval timeInterval, GuestSettings settings) throws OutsideTimeBoundariesException {
        this.start = facet.start;
        if (facet instanceof AbstractLocalTimeFacet) {
            AbstractLocalTimeFacet ltf = (AbstractLocalTimeFacet) facet;
            this.eventStart = ISODateTimeFormat.dateTime().withZone(DateTimeZone.forTimeZone(timeInterval.getTimeZone(ltf.date))).print(facet.start);
        } else {
            this.eventStart = ISODateTimeFormat.dateTime().withZoneUTC().print(facet.start);
        }
    super.extractValues(facet, timeInterval, settings);
View Full Code Here

TOP

Related Classes of org.fluxtream.core.domain.AbstractLocalTimeFacet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.