Logo Search packages:      
Sourcecode: f-spot version File versions  Download package

PhotoCounts FlickrNet::Flickr::PhotosGetCounts ( DateTime[]  dates  )  [inline]

Returns count of photos between each pair of dates in the list.

If you pass in DateA, DateB and DateC it returns a list of the number of photos between DateA and DateB, followed by the number between DateB and DateC. More parameters means more sets.

Parameters:
dates Array of DateTime objects.
Returns:
PhotoCounts class instance.

Definition at line 1823 of file Flickr.cs.

            {
                  string s = "";
                  foreach(DateTime d in dates)
                  {
                        s += Utils.DateToUnixTimestamp(d) + ",";
                  }
                  if( s.Length > 0 ) s = s.Substring(0, s.Length - 1);

                  return PhotosGetCounts(s);
            }


Generated by  Doxygen 1.6.0   Back to index