File: DateGranularity.cs

package info (click to toggle)
libflickrnet 25277-6
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 628 kB
  • ctags: 1,355
  • sloc: cs: 7,136; makefile: 24; sh: 13; ansic: 6
file content (24 lines) | stat: -rw-r--r-- 703 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System;

namespace FlickrNet
{
	/// <summary>
	/// DateGranularity, used for setting taken date in <see cref="Flickr.PhotosSetDates(string, DateTime, DateGranularity)"/> 
    /// or <see cref="Flickr.PhotosSetDates(string, DateTime, DateTime, DateGranularity)"/>.
	/// </summary>
	public enum DateGranularity
	{
		/// <summary>
		/// The date specified is the exact date the photograph was taken.
		/// </summary>
		FullDate = 0,
		/// <summary>
		/// The date specified is the year and month the photograph was taken.
		/// </summary>
		YearMonthOnly = 4,
		/// <summary>
		/// The date specified is the year the photograph was taken.
		/// </summary>
		YearOnly = 6
	}
}