0.0
Low commit activity in last 3 years
A long-lived project that still receives updates
Port of the sabre-vobject library to ruby The VObject library for PHP allows you to easily parse and manipulate iCalendar and vCard objects.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 2.6
~> 1.6
~> 1.3
>= 1.2
 Project Readme

tilia/vobject

Build Status

tilia/vobject is a port of sabre/vobject

The sabre/vobject library allows you to easily parse and manipulate iCalendar and vCard objects using PHP.

The goal of the VObject library is to create a very complete library, with an easy to use API.

Installation

Simply add tilia-vobject to your Gemfile and bundle it up:

  gem 'tilia-vobject', '~> 4.0.0'

Changes to sabre/vobject

  Sabre\VObject\FreeBusyGenerator#setTimeRange(DateTimeInterface $start = null, DateTimeInterface $end = null)

is replaced by

  Tilia::VObject::FreeBusyGenerator#time_range=(Range<Time>)

Unknown beginnings and ends can be replaced by Tilia::VObject::Settings.min_date and .max_date.

  Sabre\VObject\Property\ICalendar\DateTime#setDateTime(DateTimeInterface $dt, $isFloating = false)
  Sabre\VObject\Property\ICalendar\DateTime#setDateTimes(array $dt, $isFloating = false)

are replaced by

  Tilia::VObject::Property::ICalendar#date_time=(Time)
  Tilia::VObject::Property::ICalendar#date_times=(Array<Time>)
  Tilia::VObject::Property::ICalendar#floating=(Boolean)

Contributing

See Contributing

License

tilia-vobject is licensed under the terms of the three-clause BSD-license.