API changes from 1.4.x to 2.0.x
New classes
NodaTime.DateAdjustersNodaTime.DateIntervalNodaTime.Extensions.DateTimeExtensionsNodaTime.Extensions.DateTimeOffsetExtensionsNodaTime.Extensions.DateTimeZoneProviderExtensionsNodaTime.Extensions.DayOfWeekExtensionsNodaTime.Extensions.IsoDayOfWeekExtensionsNodaTime.Extensions.StopwatchExtensionsNodaTime.Extensions.TimeSpanExtensionsNodaTime.Text.CompositePatternBuilder<T>NodaTime.TimeAdjustersNodaTime.TimeZones.TzdbZone1970LocationNodaTime.TimeZones.TzdbZone1970Location.Country
New structs
New type members, by type
New members in NodaTime.CalendarSystem
New members in NodaTime.DateTimeZone
New members in NodaTime.Duration
DaysDivide(Duration, Duration)Divide(Duration, Double)FromDays(Double)FromHours(Double)FromMilliseconds(Double)FromMinutes(Double)FromNanoseconds(Double)FromNanoseconds(Int64)FromNanoseconds(BigInteger)FromSeconds(Double)FromTicks(Double)HoursMaxValueMillisecondsMinutesMinValueMultiply(Duration, Double)NanosecondOfDayoperator /(Duration, Duration)operator /(Duration, Double)operator *(Duration, Double)SecondsSubsecondNanosecondsSubsecondTicksToBigIntegerNanoseconds()ToInt64Nanoseconds()TotalDaysTotalHoursTotalMillisecondsTotalMinutesTotalNanosecondsTotalSecondsTotalTicks
New members in NodaTime.IClock
New members in NodaTime.Instant
FromJulianDate(Double)PlusNanoseconds(Int64)ToJulianDate()ToUnixTimeMilliseconds()ToUnixTimeSeconds()
New members in NodaTime.Interval
New members in NodaTime.LocalDate
AtStartOfDayInZone(DateTimeZone)FromDateTime(DateTime, CalendarSystem)FromDateTime(DateTime)FromYearMonthWeekAndDay(Int32, Int32, Int32, IsoDayOfWeek)Minus(LocalDate)operator -(LocalDate, LocalDate)Subtract(LocalDate, LocalDate)ToDateTimeUnspecified()With(Func<LocalDate, LocalDate>)
New members in NodaTime.LocalDateTime
FromDateTime(DateTime, CalendarSystem)Minus(LocalDateTime)NanosecondOfDayNanosecondOfSecondoperator -(LocalDateTime, LocalDateTime)PlusNanoseconds(Int64)Subtract(LocalDateTime, LocalDateTime)With(Func<LocalDate, LocalDate>)With(Func<LocalTime, LocalTime>)
New members in NodaTime.LocalTime
FromHourMinuteSecondNanosecond(Int32, Int32, Int32, Int64)MaxValueMinus(LocalTime)MinValueNanosecondOfDayNanosecondOfSecondoperator -(LocalTime, LocalTime)PlusNanoseconds(Int64)Subtract(LocalTime, LocalTime)With(Func<LocalTime, LocalTime>)
New members in NodaTime.NodaConstants
JulianEpochNanosecondsPerDayNanosecondsPerHourNanosecondsPerMillisecondNanosecondsPerMinuteNanosecondsPerSecondNanosecondsPerTickNanosecondsPerWeek
New members in NodaTime.Offset
New members in NodaTime.OffsetDateTime
Add(OffsetDateTime, Duration)Minus(Duration)Minus(OffsetDateTime)NanosecondOfDayNanosecondOfSecondoperator +(OffsetDateTime, Duration)operator -(OffsetDateTime, Duration)operator -(OffsetDateTime, OffsetDateTime)Plus(Duration)PlusHours(Int32)PlusMilliseconds(Int64)PlusMinutes(Int32)PlusNanoseconds(Int64)PlusSeconds(Int64)PlusTicks(Int64)Subtract(OffsetDateTime, Duration)Subtract(OffsetDateTime, OffsetDateTime)With(Func<LocalDate, LocalDate>)With(Func<LocalTime, LocalTime>)
New members in NodaTime.OffsetDateTime.Comparer
New members in NodaTime.Period
New members in NodaTime.PeriodBuilder
New members in NodaTime.PeriodUnits
New members in NodaTime.SystemClock
New members in NodaTime.Text.DurationPattern
New members in NodaTime.Text.InstantPattern
New members in NodaTime.Text.IPattern<T>
New members in NodaTime.Text.LocalDatePattern
New members in NodaTime.Text.LocalDateTimePattern
AppendFormat(LocalDateTime, StringBuilder)FullRoundtripWithoutCalendarWithCalendar(CalendarSystem)
New members in NodaTime.Text.LocalTimePattern
New members in NodaTime.Text.OffsetDateTimePattern
New members in NodaTime.Text.OffsetPattern
New members in NodaTime.Text.PeriodPattern
New members in NodaTime.Text.ZonedDateTimePattern
New members in NodaTime.TimeZones.BclDateTimeZoneSource
New members in NodaTime.TimeZones.Cldr.MapZone
New members in NodaTime.TimeZones.IDateTimeZoneSource
New members in NodaTime.TimeZones.Resolvers
New members in NodaTime.TimeZones.TzdbDateTimeZoneSource
New members in NodaTime.TimeZones.ZoneInterval
New members in NodaTime.ZonedDateTime
Minus(ZonedDateTime)NanosecondOfDayNanosecondOfSecondoperator -(ZonedDateTime, ZonedDateTime)PlusHours(Int32)PlusMilliseconds(Int64)PlusMinutes(Int32)PlusNanoseconds(Int64)PlusSeconds(Int64)PlusTicks(Int64)Subtract(ZonedDateTime, ZonedDateTime)WithCalendar(CalendarSystem)
New members in NodaTime.ZonedDateTime.Comparer
Removed classes
NodaTime.ClockExtensionsNodaTime.TimeZones.DateTimeZoneSourceExtensions
Removed type members, by type
Removed members in NodaTime.Calendars.Era
AnnoMartyrm
Removed members in NodaTime.CalendarSystem
GetCopticCalendar(Int32)GetGregorianCalendar(Int32)GetJulianCalendar(Int32)GetMaxMonth(Int32)GetPersianCalendar()UsesIsoDayOfWeek
Removed members in NodaTime.DateTimeZone
Equals(DateTimeZone)Equals(Object)EqualsImpl(DateTimeZone)GetHashCode()
Removed members in NodaTime.DateTimeZoneProviders
Default
Removed members in NodaTime.Duration
FromHours(Int64)FromStandardDays(Int64)FromStandardWeeks(Int64)Ticks
Removed members in NodaTime.IClock
Now
Removed members in NodaTime.Instant
Instant(Int64)FromMillisecondsSinceUnixEpoch(Int64)FromSecondsSinceUnixEpoch(Int64)FromTicksSinceUnixEpoch(Int64)Ticks
Removed members in NodaTime.LocalDate
IsoDayOfWeekWeekOfWeekYearWeekYearYearOfCentury
Removed members in NodaTime.LocalDateTime
LocalDateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, CalendarSystem)LocalDateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)CenturyOfEraIsoDayOfWeekWeekOfWeekYearWeekYearYearOfCentury
Removed members in NodaTime.LocalTime
LocalTime(Int32, Int32, Int32, Int32, Int32)LocalDateTime
Removed members in NodaTime.NodaConstants
DaysPerStandardWeekHoursPerStandardDayHoursPerStandardWeekMillisecondsPerStandardDayMillisecondsPerStandardWeekMinutesPerStandardDayMinutesPerStandardWeekSecondsPerStandardDayTicksPerStandardDayTicksPerStandardWeek
Removed members in NodaTime.OffsetDateTime
IsoDayOfWeekWeekOfWeekYearWeekYearYearOfCentury
Removed members in NodaTime.Period
FromDays(Int64)FromMillseconds(Int64)FromMonths(Int64)FromWeeks(Int64)FromYears(Int64)
Removed members in NodaTime.SystemClock
Now
Removed members in NodaTime.Text.DurationPattern
RoundtripPattern
Removed members in NodaTime.Text.InstantPattern
CreateNumericPattern(CultureInfo, Boolean)ExtendedIsoPatternGeneralPatternWithMinMaxLabels(String, String)
Removed members in NodaTime.Text.LocalDatePattern
IsoPattern
Removed members in NodaTime.Text.LocalDateTimePattern
BclRoundtripPatternExtendedIsoPatternFullRoundtripPatternGeneralIsoPattern
Removed members in NodaTime.Text.LocalTimePattern
ExtendedIsoPattern
Removed members in NodaTime.Text.OffsetDateTimePattern
ExtendedIsoPatternFullRoundtripPatternGeneralIsoPatternRfc3339Pattern
Removed members in NodaTime.Text.OffsetPattern
GeneralInvariantPatternGeneralInvariantPatternWithZ
Removed members in NodaTime.Text.PeriodPattern
NormalizingIsoPatternRoundtripPattern
Removed members in NodaTime.Text.ZonedDateTimePattern
ExtendedFormatOnlyIsoPatternGeneralFormatOnlyIsoPattern
Removed members in NodaTime.TimeZones.BclDateTimeZone
EqualsImpl(DateTimeZone)GetHashCode()
Removed members in NodaTime.TimeZones.BclDateTimeZoneSource
MapTimeZoneId(TimeZoneInfo)
Removed members in NodaTime.TimeZones.IDateTimeZoneSource
MapTimeZoneId(TimeZoneInfo)
Removed members in NodaTime.TimeZones.TzdbDateTimeZoneSource
TzdbDateTimeZoneSource(ResourceManager)TzdbDateTimeZoneSource(ResourceSet)TzdbDateTimeZoneSource(String, Assembly)TzdbDateTimeZoneSource(String)MapTimeZoneId(TimeZoneInfo)
Removed members in NodaTime.TimeZones.ZoneInterval
ZoneInterval(String, Instant, Instant, Offset, Offset)
Removed members in NodaTime.ZonedClock
IClock.Now
Removed members in NodaTime.ZonedDateTime
CenturyOfEraCompareTo(ZonedDateTime)IsoDayOfWeekoperator >(ZonedDateTime, ZonedDateTime)operator >=(ZonedDateTime, ZonedDateTime)operator <(ZonedDateTime, ZonedDateTime)operator <=(ZonedDateTime, ZonedDateTime)IComparable.CompareTo(Object)WeekOfWeekYearWeekYearYearOfCentury