- safeAdd(int, int) - Static method in class org.joda.time.field.FieldUtils
-
Add two values throwing an exception if overflow occurs.
- safeAdd(long, long) - Static method in class org.joda.time.field.FieldUtils
-
Add two values throwing an exception if overflow occurs.
- safeMultiply(int, int) - Static method in class org.joda.time.field.FieldUtils
-
Multiply two values throwing an exception if overflow occurs.
- safeMultiply(long, int) - Static method in class org.joda.time.field.FieldUtils
-
Multiply two values throwing an exception if overflow occurs.
- safeMultiply(long, long) - Static method in class org.joda.time.field.FieldUtils
-
Multiply two values throwing an exception if overflow occurs.
- safeMultiplyToInt(long, long) - Static method in class org.joda.time.field.FieldUtils
-
Multiply two values to return an int throwing an exception if overflow occurs.
- safeNegate(int) - Static method in class org.joda.time.field.FieldUtils
-
Negates the input throwing an exception if it can't negate it.
- safeSubtract(long, long) - Static method in class org.joda.time.field.FieldUtils
-
Subtracts two values throwing an exception if overflow occurs.
- safeToInt(long) - Static method in class org.joda.time.field.FieldUtils
-
Casts to an int throwing an exception if overflow occurs.
- SATURDAY - Static variable in class org.joda.time.DateTimeConstants
-
Constant (6) representing Saturday, the sixth day of the week (ISO)
- saveField(DateTimeField, int) - Method in class org.joda.time.format.DateTimeParserBucket
-
Saves a datetime field value.
- saveField(DateTimeFieldType, int) - Method in class org.joda.time.format.DateTimeParserBucket
-
Saves a datetime field value.
- saveField(DateTimeFieldType, String, Locale) - Method in class org.joda.time.format.DateTimeParserBucket
-
Saves a datetime field text value.
- saveState() - Method in class org.joda.time.format.DateTimeParserBucket
-
Saves the state of this bucket, returning it in an opaque object.
- ScaledDurationField - Class in org.joda.time.field
-
Scales a DurationField such that it's unit millis becomes larger in
magnitude.
- ScaledDurationField(DurationField, DurationFieldType, int) - Constructor for class org.joda.time.field.ScaledDurationField
-
Constructor
- SECOND_OF_MINUTE - Static variable in class org.joda.time.TimeOfDay
-
Deprecated.
The index of the secondOfMinute field in the field array
- secondOfDay - Variable in class org.joda.time.chrono.AssembledChronology.Fields
-
- secondOfDay() - Method in class org.joda.time.chrono.AssembledChronology
-
- secondOfDay() - Method in class org.joda.time.chrono.BaseChronology
-
Get the second of day field for this chronology.
- secondOfDay() - Method in class org.joda.time.Chronology
-
Get the second of day field for this chronology.
- secondOfDay() - Method in class org.joda.time.DateTime
-
Get the second of day property which provides access to advanced functionality.
- secondOfDay() - Static method in class org.joda.time.DateTimeFieldType
-
Get the second of day field type.
- secondOfDay() - Method in class org.joda.time.MutableDateTime
-
Get the second of day property
- secondOfMinute - Variable in class org.joda.time.chrono.AssembledChronology.Fields
-
- secondOfMinute() - Method in class org.joda.time.chrono.AssembledChronology
-
- secondOfMinute() - Method in class org.joda.time.chrono.BaseChronology
-
Get the second of minute field for this chronology.
- secondOfMinute() - Method in class org.joda.time.Chronology
-
Get the second of minute field for this chronology.
- secondOfMinute() - Method in class org.joda.time.DateTime
-
Get the second of minute field property which provides access to advanced functionality.
- secondOfMinute() - Static method in class org.joda.time.DateTimeFieldType
-
Get the second of minute field type.
- secondOfMinute() - Method in class org.joda.time.LocalDateTime
-
Get the second of minute field property which provides access to advanced functionality.
- secondOfMinute() - Method in class org.joda.time.LocalTime
-
Get the second of minute field property which provides access to advanced functionality.
- secondOfMinute() - Method in class org.joda.time.MutableDateTime
-
Get the second of minute field property
- secondOfMinute() - Method in class org.joda.time.TimeOfDay
-
Deprecated.
Get the second of minute field property which provides access to advanced functionality.
- seconds - Variable in class org.joda.time.chrono.AssembledChronology.Fields
-
- seconds() - Method in class org.joda.time.chrono.AssembledChronology
-
- seconds() - Method in class org.joda.time.chrono.BaseChronology
-
Get the seconds duration field for this chronology.
- seconds() - Method in class org.joda.time.Chronology
-
Get the seconds duration field for this chronology.
- seconds() - Static method in class org.joda.time.DurationFieldType
-
Get the seconds field type.
- seconds(int) - Static method in class org.joda.time.Period
-
Create a period with a specified number of seconds.
- seconds() - Static method in class org.joda.time.PeriodType
-
Gets a type that defines just the seconds field.
- Seconds - Class in org.joda.time
-
An immutable time period representing a number of seconds.
- seconds(int) - Static method in class org.joda.time.Seconds
-
Obtains an instance of Seconds
that may be cached.
- SECONDS_PER_DAY - Static variable in class org.joda.time.DateTimeConstants
-
Seconds in a typical day (ISO).
- SECONDS_PER_HOUR - Static variable in class org.joda.time.DateTimeConstants
-
Seconds in one hour (ISO)
- SECONDS_PER_MINUTE - Static variable in class org.joda.time.DateTimeConstants
-
Seconds in one minute (60) (ISO)
- SECONDS_PER_WEEK - Static variable in class org.joda.time.DateTimeConstants
-
Seconds in a typical week (ISO).
- secondsBetween(ReadableInstant, ReadableInstant) - Static method in class org.joda.time.Seconds
-
Creates a Seconds
representing the number of whole seconds
between the two specified datetimes.
- secondsBetween(ReadablePartial, ReadablePartial) - Static method in class org.joda.time.Seconds
-
Creates a Seconds
representing the number of whole seconds
between the two specified partial datetimes.
- secondsIn(ReadableInterval) - Static method in class org.joda.time.Seconds
-
Creates a Seconds
representing the number of whole seconds
in the specified interval.
- SEPTEMBER - Static variable in class org.joda.time.DateTimeConstants
-
Constant (9) representing September, the nineth month (ISO)
- set(ReadablePartial, long) - Method in class org.joda.time.chrono.BaseChronology
-
Sets the partial into the instant.
- set(ReadablePartial, long) - Method in class org.joda.time.Chronology
-
Sets the partial into the instant.
- set(long, int) - Method in class org.joda.time.DateTimeField
-
Sets a value in the milliseconds supplied.
- set(ReadablePartial, int, int[], int) - Method in class org.joda.time.DateTimeField
-
Sets a value using the specified partial instant.
- set(long, String, Locale) - Method in class org.joda.time.DateTimeField
-
Sets a value in the milliseconds supplied from a human-readable, text value.
- set(long, String) - Method in class org.joda.time.DateTimeField
-
Sets a value in the milliseconds supplied from a human-readable, text value.
- set(ReadablePartial, int, int[], String, Locale) - Method in class org.joda.time.DateTimeField
-
Sets a value in the milliseconds supplied from a human-readable, text value.
- set(long, int) - Method in class org.joda.time.field.BaseDateTimeField
-
Sets a value in the milliseconds supplied.
- set(ReadablePartial, int, int[], int) - Method in class org.joda.time.field.BaseDateTimeField
-
Sets a value using the specified partial instant.
- set(long, String, Locale) - Method in class org.joda.time.field.BaseDateTimeField
-
Sets a value in the milliseconds supplied from a human-readable, text value.
- set(long, String) - Method in class org.joda.time.field.BaseDateTimeField
-
Sets a value in the milliseconds supplied from a human-readable, text value.
- set(ReadablePartial, int, int[], String, Locale) - Method in class org.joda.time.field.BaseDateTimeField
-
Sets a value in the milliseconds supplied from a human-readable, text value.
- set(long, int) - Method in class org.joda.time.field.DecoratedDateTimeField
-
- set(long, int) - Method in class org.joda.time.field.DelegatedDateTimeField
-
- set(long, String, Locale) - Method in class org.joda.time.field.DelegatedDateTimeField
-
- set(long, String) - Method in class org.joda.time.field.DelegatedDateTimeField
-
- set(ReadablePartial, int, int[], int) - Method in class org.joda.time.field.DelegatedDateTimeField
-
- set(ReadablePartial, int, int[], String, Locale) - Method in class org.joda.time.field.DelegatedDateTimeField
-
- set(long, int) - Method in class org.joda.time.field.DividedDateTimeField
-
Set the specified amount of scaled units to the specified time instant.
- set(long, int) - Method in class org.joda.time.field.ImpreciseDateTimeField
-
- set(long, int) - Method in class org.joda.time.field.LenientDateTimeField
-
Set values which may be out of bounds by adding the difference between
the new value and the current value.
- set(long, int) - Method in class org.joda.time.field.OffsetDateTimeField
-
Set the specified amount of offset units to the specified time instant.
- set(long, int) - Method in class org.joda.time.field.PreciseDateTimeField
-
Set the specified amount of units to the specified time instant.
- set(long, int) - Method in class org.joda.time.field.PreciseDurationDateTimeField
-
Set the specified amount of units to the specified time instant.
- set(long, int) - Method in class org.joda.time.field.RemainderDateTimeField
-
Set the specified amount of remainder units to the specified time instant.
- set(long, int) - Method in class org.joda.time.field.SkipDateTimeField
-
- set(long, int) - Method in class org.joda.time.field.SkipUndoDateTimeField
-
- set(long, int) - Method in class org.joda.time.field.StrictDateTimeField
-
Does a bounds check before setting the value.
- set(long, int) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- set(ReadablePartial, int, int[], int) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- set(long, String, Locale) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- set(long, String) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- set(ReadablePartial, int, int[], String, Locale) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- set(long, int) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
-
- set(int) - Method in class org.joda.time.MutableDateTime.Property
-
Sets a value.
- set(String, Locale) - Method in class org.joda.time.MutableDateTime.Property
-
Sets a text value.
- set(String) - Method in class org.joda.time.MutableDateTime.Property
-
Sets a text value.
- set(DateTimeFieldType, int) - Method in class org.joda.time.MutableDateTime
-
Sets the value of one of the fields of the instant, such as hourOfDay.
- set(DurationFieldType, int) - Method in class org.joda.time.MutablePeriod
-
Sets the value of one of the fields.
- set(DateTimeFieldType, int) - Method in interface org.joda.time.ReadWritableInstant
-
Sets the value of one of the fields of the instant, such as hourOfDay.
- set(DurationFieldType, int) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets the value of one of the fields.
- setChronology(Chronology) - Method in class org.joda.time.base.BaseDateTime
-
Sets the chronology of the datetime.
- setChronology(Chronology) - Method in class org.joda.time.MutableDateTime
-
Set the chronology of the datetime.
- setChronology(Chronology) - Method in class org.joda.time.MutableInterval
-
Sets the chronology of this time interval.
- setChronology(Chronology) - Method in interface org.joda.time.ReadWritableInstant
-
Sets the chronology of the datetime, which has no effect if not applicable.
- setChronology(Chronology) - Method in interface org.joda.time.ReadWritableInterval
-
Sets the chronology of this time interval.
- setCopy(int) - Method in class org.joda.time.DateMidnight.Property
-
Sets this field in a copy of the DateMidnight.
- setCopy(String, Locale) - Method in class org.joda.time.DateMidnight.Property
-
Sets this field in a copy of the DateMidnight to a parsed text value.
- setCopy(String) - Method in class org.joda.time.DateMidnight.Property
-
Sets this field in a copy of the DateMidnight to a parsed text value.
- setCopy(int) - Method in class org.joda.time.DateTime.Property
-
Sets this field in a copy of the DateTime.
- setCopy(String, Locale) - Method in class org.joda.time.DateTime.Property
-
Sets this field in a copy of the DateTime to a parsed text value.
- setCopy(String) - Method in class org.joda.time.DateTime.Property
-
Sets this field in a copy of the DateTime to a parsed text value.
- setCopy(int) - Method in class org.joda.time.LocalDate.Property
-
Sets this field in a copy of the LocalDate.
- setCopy(String, Locale) - Method in class org.joda.time.LocalDate.Property
-
Sets this field in a copy of the LocalDate to a parsed text value.
- setCopy(String) - Method in class org.joda.time.LocalDate.Property
-
Sets this field in a copy of the LocalDate to a parsed text value.
- setCopy(int) - Method in class org.joda.time.LocalDateTime.Property
-
Sets this field in a copy of the LocalDateTime.
- setCopy(String, Locale) - Method in class org.joda.time.LocalDateTime.Property
-
Sets this field in a copy of the LocalDateTime to a parsed text value.
- setCopy(String) - Method in class org.joda.time.LocalDateTime.Property
-
Sets this field in a copy of the LocalDateTime to a parsed text value.
- setCopy(int) - Method in class org.joda.time.LocalTime.Property
-
Sets this field in a copy of the LocalTime.
- setCopy(String, Locale) - Method in class org.joda.time.LocalTime.Property
-
Sets this field in a copy of the LocalTime to a parsed text value.
- setCopy(String) - Method in class org.joda.time.LocalTime.Property
-
Sets this field in a copy of the LocalTime to a parsed text value.
- setCopy(int) - Method in class org.joda.time.Partial.Property
-
Sets this field in a copy of the Partial.
- setCopy(String, Locale) - Method in class org.joda.time.Partial.Property
-
Sets this field in a copy of the Partial to a parsed text value.
- setCopy(String) - Method in class org.joda.time.Partial.Property
-
Sets this field in a copy of the Partial to a parsed text value.
- setCopy(int) - Method in class org.joda.time.TimeOfDay.Property
-
Deprecated.
Sets this field in a copy of the TimeOfDay.
- setCopy(String, Locale) - Method in class org.joda.time.TimeOfDay.Property
-
Deprecated.
Sets this field in a copy of the TimeOfDay to a parsed text value.
- setCopy(String) - Method in class org.joda.time.TimeOfDay.Property
-
Deprecated.
Sets this field in a copy of the TimeOfDay to a parsed text value.
- setCopy(int) - Method in class org.joda.time.YearMonthDay.Property
-
Deprecated.
Sets this field in a copy of the YearMonthDay.
- setCopy(String, Locale) - Method in class org.joda.time.YearMonthDay.Property
-
Deprecated.
Sets this field in a copy of the YearMonthDay to a parsed text value.
- setCopy(String) - Method in class org.joda.time.YearMonthDay.Property
-
Deprecated.
Sets this field in a copy of the YearMonthDay to a parsed text value.
- setCurrentMillisFixed(long) - Static method in class org.joda.time.DateTimeUtils
-
Sets the current time to return a fixed millisecond time.
- setCurrentMillisOffset(long) - Static method in class org.joda.time.DateTimeUtils
-
Sets the current time to return the system time plus an offset.
- setCurrentMillisSystem() - Static method in class org.joda.time.DateTimeUtils
-
Resets the current time to return the system time.
- setDate(long) - Method in class org.joda.time.MutableDateTime
-
Set the date from milliseconds.
- setDate(ReadableInstant) - Method in class org.joda.time.MutableDateTime
-
Set the date from another instant.
- setDate(int, int, int) - Method in class org.joda.time.MutableDateTime
-
Set the date from fields.
- setDate(int, int, int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the date from fields.
- setDateTime(int, int, int, int, int, int, int) - Method in class org.joda.time.MutableDateTime
-
Set the date and time from fields.
- setDateTime(int, int, int, int, int, int, int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the date and time from fields.
- setDayOfMonth(int) - Method in class org.joda.time.MutableDateTime
-
Set the day of the month to the specified value.
- setDayOfMonth(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the day of the month to the specified value.
- setDayOfWeek(int) - Method in class org.joda.time.MutableDateTime
-
Set the day of week to the specified value.
- setDayOfWeek(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the day of week to the specified value.
- setDayOfYear(int) - Method in class org.joda.time.MutableDateTime
-
Set the day of year to the specified value.
- setDayOfYear(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the day of year to the specified value.
- setDays(int) - Method in class org.joda.time.MutablePeriod
-
Sets the number of days of the period.
- setDays(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets the number of days of the period.
- setDefault(DateTimeZone) - Static method in class org.joda.time.DateTimeZone
-
Sets the default time zone.
- setDurationAfterStart(long) - Method in class org.joda.time.MutableInterval
-
Sets the duration of this time interval, preserving the start instant.
- setDurationAfterStart(ReadableDuration) - Method in class org.joda.time.MutableInterval
-
Sets the duration of this time interval, preserving the start instant.
- setDurationAfterStart(ReadableDuration) - Method in interface org.joda.time.ReadWritableInterval
-
Sets the duration of this time interval, preserving the start instant.
- setDurationBeforeEnd(long) - Method in class org.joda.time.MutableInterval
-
Sets the duration of this time interval, preserving the end instant.
- setDurationBeforeEnd(ReadableDuration) - Method in class org.joda.time.MutableInterval
-
Sets the duration of this time interval, preserving the end instant.
- setDurationBeforeEnd(ReadableDuration) - Method in interface org.joda.time.ReadWritableInterval
-
Sets the duration of this time interval, preserving the end instant.
- setEnd(ReadableInstant) - Method in class org.joda.time.MutableInterval
-
Sets the end of this time interval as an Instant.
- setEnd(ReadableInstant) - Method in interface org.joda.time.ReadWritableInterval
-
Sets the end of this time interval as an Instant.
- setEndMillis(long) - Method in class org.joda.time.MutableInterval
-
Sets the end of this time interval.
- setEndMillis(long) - Method in interface org.joda.time.ReadWritableInterval
-
Sets the end of this time interval.
- setField(DurationFieldType, int) - Method in class org.joda.time.base.BasePeriod
-
Sets the value of a field in this period.
- setFieldInto(int[], DurationFieldType, int) - Method in class org.joda.time.base.BasePeriod
-
Sets the value of a field in this period.
- setFixedSavings(String, int) - Method in class org.joda.time.tz.DateTimeZoneBuilder
-
Set a fixed savings rule at the cutover.
- setHourOfDay(int) - Method in class org.joda.time.MutableDateTime
-
Set the hour of the day to the specified value.
- setHourOfDay(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the hour of the day to the specified value.
- setHours(int) - Method in class org.joda.time.MutablePeriod
-
Sets the number of hours of the period.
- setHours(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets the number of hours of the period.
- setInterval(long, long, Chronology) - Method in class org.joda.time.base.BaseInterval
-
Sets this interval from two millisecond instants and a chronology.
- setInterval(long, long) - Method in class org.joda.time.MutableInterval
-
Sets this interval from two millisecond instants retaining the chronology.
- setInterval(ReadableInterval) - Method in class org.joda.time.MutableInterval
-
Sets this interval to be the same as another.
- setInterval(ReadableInstant, ReadableInstant) - Method in class org.joda.time.MutableInterval
-
Sets this interval from two instants, replacing the chronology with
that from the start instant.
- setInterval(long, long) - Method in interface org.joda.time.ReadWritableInterval
-
Sets this interval from two millisecond instants.
- setInterval(ReadableInterval) - Method in interface org.joda.time.ReadWritableInterval
-
Sets this interval to be the same as another.
- setInterval(ReadableInstant, ReadableInstant) - Method in interface org.joda.time.ReadWritableInterval
-
Sets this interval from two instants.
- setInto(ReadWritableInterval, Object, Chronology) - Method in interface org.joda.time.convert.IntervalConverter
-
Extracts interval endpoint values from an object of this converter's
type, and sets them into the given ReadWritableInterval.
- setInto(ReadWritablePeriod, Object, Chronology) - Method in interface org.joda.time.convert.PeriodConverter
-
Extracts duration values from an object of this converter's type, and
sets them into the given ReadWritableDuration.
- setMillis(long) - Method in class org.joda.time.base.BaseDateTime
-
Sets the milliseconds of the datetime.
- setMillis(long) - Method in class org.joda.time.base.BaseDuration
-
Sets the length of this duration in milliseconds.
- setMillis(long) - Method in class org.joda.time.MutableDateTime
-
Set the milliseconds of the datetime.
- setMillis(ReadableInstant) - Method in class org.joda.time.MutableDateTime
-
Sets the millisecond instant of this instant from another.
- setMillis(int) - Method in class org.joda.time.MutablePeriod
-
Sets the number of millis of the period.
- setMillis(long) - Method in interface org.joda.time.ReadWritableInstant
-
Sets the value as the number of milliseconds since
the epoch, 1970-01-01T00:00:00Z.
- setMillis(ReadableInstant) - Method in interface org.joda.time.ReadWritableInstant
-
Sets the millisecond instant of this instant from another.
- setMillis(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets the number of millis of the period.
- setMillisOfDay(int) - Method in class org.joda.time.MutableDateTime
-
Set the millis of the day to the specified value.
- setMillisOfDay(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the millis of the day to the specified value.
- setMillisOfSecond(int) - Method in class org.joda.time.MutableDateTime
-
Set the millis of the second to the specified value.
- setMillisOfSecond(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the millis of the second to the specified value.
- setMinuteOfDay(int) - Method in class org.joda.time.MutableDateTime
-
Set the minute of the day to the specified value.
- setMinuteOfDay(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the minute of the day to the specified value.
- setMinuteOfHour(int) - Method in class org.joda.time.MutableDateTime
-
Set the minute of the hour to the specified value.
- setMinuteOfHour(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the minute of the hour to the specified value.
- setMinutes(int) - Method in class org.joda.time.MutablePeriod
-
Sets the number of minutes of the period.
- setMinutes(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets the number of minutes of the period.
- setMonthOfYear(int) - Method in class org.joda.time.MutableDateTime
-
Set the month of the year to the specified value.
- setMonthOfYear(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the month of the year to the specified value.
- setMonths(int) - Method in class org.joda.time.MutablePeriod
-
Sets the number of months of the period.
- setMonths(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets the number of months of the period.
- setNameProvider(NameProvider) - Static method in class org.joda.time.DateTimeZone
-
Sets the name provider factory.
- setOffset(int) - Method in class org.joda.time.format.DateTimeParserBucket
-
Set a time zone offset to be used when computeMillis is called, which
overrides the time zone.
- setPeriod(ReadablePeriod) - Method in class org.joda.time.base.BasePeriod
-
Sets all the fields of this period from another.
- setPeriod(int, int, int, int, int, int, int, int) - Method in class org.joda.time.base.BasePeriod
-
Sets the eight standard the fields in one go.
- setPeriod(ReadablePeriod) - Method in class org.joda.time.MutablePeriod
-
Sets all the fields in one go from another ReadablePeriod.
- setPeriod(int, int, int, int, int, int, int, int) - Method in class org.joda.time.MutablePeriod
-
Sets all the fields in one go.
- setPeriod(ReadableInterval) - Method in class org.joda.time.MutablePeriod
-
Sets all the fields in one go from an interval using the ISO chronology
and dividing the fields using the period type.
- setPeriod(ReadableInstant, ReadableInstant) - Method in class org.joda.time.MutablePeriod
-
Sets all the fields in one go from two instants representing an interval.
- setPeriod(long, long) - Method in class org.joda.time.MutablePeriod
-
Sets all the fields in one go from a millisecond interval using ISOChronology
and dividing the fields using the period type.
- setPeriod(long, long, Chronology) - Method in class org.joda.time.MutablePeriod
-
Sets all the fields in one go from a millisecond interval.
- setPeriod(ReadableDuration) - Method in class org.joda.time.MutablePeriod
-
Sets all the fields in one go from a duration dividing the
fields using the period type.
- setPeriod(ReadableDuration, Chronology) - Method in class org.joda.time.MutablePeriod
-
Sets all the fields in one go from a duration dividing the
fields using the period type.
- setPeriod(long) - Method in class org.joda.time.MutablePeriod
-
Sets all the fields in one go from a millisecond duration dividing the
fields using the period type.
- setPeriod(long, Chronology) - Method in class org.joda.time.MutablePeriod
-
Sets all the fields in one go from a millisecond duration.
- setPeriod(ReadablePeriod) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets all the fields in one go from another ReadablePeriod.
- setPeriod(int, int, int, int, int, int, int, int) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets all the fields in one go.
- setPeriod(ReadableInterval) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets all the fields in one go from an interval dividing the
fields using the period type.
- setPeriodAfterStart(ReadablePeriod) - Method in class org.joda.time.MutableInterval
-
Sets the period of this time interval, preserving the start instant
and using the ISOChronology in the default zone for calculations.
- setPeriodAfterStart(ReadablePeriod) - Method in interface org.joda.time.ReadWritableInterval
-
Sets the period of this time interval, preserving the start instant.
- setPeriodBeforeEnd(ReadablePeriod) - Method in class org.joda.time.MutableInterval
-
Sets the period of this time interval, preserving the end instant
and using the ISOChronology in the default zone for calculations.
- setPeriodBeforeEnd(ReadablePeriod) - Method in interface org.joda.time.ReadWritableInterval
-
Sets the period of this time interval, preserving the end instant.
- setPivotYear(Integer) - Method in class org.joda.time.format.DateTimeParserBucket
-
Sets the pivot year to use when parsing two digit years.
- setProvider(Provider) - Static method in class org.joda.time.DateTimeZone
-
Sets the zone provider factory.
- setRounding(DateTimeField) - Method in class org.joda.time.MutableDateTime
-
Sets the status of rounding to use the specified field and ROUND_FLOOR mode.
- setRounding(DateTimeField, int) - Method in class org.joda.time.MutableDateTime
-
Sets the status of rounding to use the specified field and mode.
- setSecondOfDay(int) - Method in class org.joda.time.MutableDateTime
-
Set the second of the day to the specified value.
- setSecondOfDay(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the second of the day to the specified value.
- setSecondOfMinute(int) - Method in class org.joda.time.MutableDateTime
-
Set the second of the minute to the specified value.
- setSecondOfMinute(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the second of the minute to the specified value.
- setSeconds(int) - Method in class org.joda.time.MutablePeriod
-
Sets the number of seconds of the period.
- setSeconds(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets the number of seconds of the period.
- setStandardOffset(int) - Method in class org.joda.time.tz.DateTimeZoneBuilder
-
Sets the standard offset to use for newly added rules until the next
cutover is added.
- setStart(ReadableInstant) - Method in class org.joda.time.MutableInterval
-
Sets the start of this time interval as an Instant.
- setStart(ReadableInstant) - Method in interface org.joda.time.ReadWritableInterval
-
Sets the start of this time interval as an Instant.
- setStartMillis(long) - Method in class org.joda.time.MutableInterval
-
Sets the start of this time interval.
- setStartMillis(long) - Method in interface org.joda.time.ReadWritableInterval
-
Sets the start of this time interval.
- setTime(long) - Method in class org.joda.time.MutableDateTime
-
Set the time from milliseconds.
- setTime(ReadableInstant) - Method in class org.joda.time.MutableDateTime
-
Set the time from another instant.
- setTime(int, int, int, int) - Method in class org.joda.time.MutableDateTime
-
Set the time from fields.
- setTime(int, int, int, int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the time from fields.
- setValue(int, int) - Method in class org.joda.time.base.BasePartial
-
Sets the value of the field at the specifed index.
- setValue(int, int) - Method in class org.joda.time.base.BasePeriod
-
Sets the value of the field at the specifed index.
- setValue(int) - Method in class org.joda.time.base.BaseSingleFieldPeriod
-
Sets the amount of this period.
- setValue(int, int) - Method in class org.joda.time.MutablePeriod
-
Sets the value of one of the fields by index.
- setValue(int, int) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets the value of one of the fields by index.
- setValues(int[]) - Method in class org.joda.time.base.BasePartial
-
Sets the values of all fields.
- setValues(int[]) - Method in class org.joda.time.base.BasePeriod
-
Sets the values of all fields.
- setWeekOfWeekyear(int) - Method in class org.joda.time.MutableDateTime
-
Set the week of weekyear to the specified value.
- setWeekOfWeekyear(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the week of weekyear to the specified value.
- setWeeks(int) - Method in class org.joda.time.MutablePeriod
-
Sets the number of weeks of the period.
- setWeeks(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets the number of weeks of the period.
- setWeekyear(int) - Method in class org.joda.time.MutableDateTime
-
Set the weekyear to the specified value.
- setWeekyear(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the weekyear to the specified value.
- setYear(int) - Method in class org.joda.time.MutableDateTime
-
Set the year to the specified value.
- setYear(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the year to the specified value.
- setYears(int) - Method in class org.joda.time.MutablePeriod
-
Sets the number of years of the period.
- setYears(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets the number of years of the period.
- setZone(DateTimeZone) - Method in class org.joda.time.format.DateTimeParserBucket
-
Set a time zone to be used when computeMillis is called, which
overrides any set time zone offset.
- setZone(DateTimeZone) - Method in class org.joda.time.MutableDateTime
-
Sets the time zone of the datetime, changing the chronology and field values.
- setZone(DateTimeZone) - Method in interface org.joda.time.ReadWritableInstant
-
Sets the time zone of the datetime, changing the chronology and field values.
- setZoneRetainFields(DateTimeZone) - Method in class org.joda.time.MutableDateTime
-
Sets the time zone of the datetime, changing the chronology and millisecond.
- setZoneRetainFields(DateTimeZone) - Method in interface org.joda.time.ReadWritableInstant
-
Sets the time zone of the datetime, changing the chronology and millisecond.
- SEVEN - Static variable in class org.joda.time.Days
-
Constant representing seven days.
- SEVEN - Static variable in class org.joda.time.Hours
-
Constant representing seven hours.
- SEVEN - Static variable in class org.joda.time.Months
-
Constant representing seven months.
- shortDate() - Static method in class org.joda.time.format.DateTimeFormat
-
Creates a format that outputs a short date format.
- shortDateTime() - Static method in class org.joda.time.format.DateTimeFormat
-
Creates a format that outputs a short datetime format.
- shortTime() - Static method in class org.joda.time.format.DateTimeFormat
-
Creates a format that outputs a short time format.
- SIX - Static variable in class org.joda.time.Days
-
Constant representing six days.
- SIX - Static variable in class org.joda.time.Hours
-
Constant representing six hours.
- SIX - Static variable in class org.joda.time.Months
-
Constant representing six months.
- size() - Method in class org.joda.time.base.BasePeriod
-
Gets the number of fields that this period supports.
- size() - Method in class org.joda.time.base.BaseSingleFieldPeriod
-
Gets the number of fields that this period supports, which is one.
- size() - Method in class org.joda.time.LocalDate
-
Gets the number of fields in this partial, which is three.
- size() - Method in class org.joda.time.LocalDateTime
-
Gets the number of fields in this partial, which is four.
- size() - Method in class org.joda.time.LocalTime
-
Gets the number of fields in this partial, which is four.
- size() - Method in class org.joda.time.Partial
-
Gets the number of fields in this partial.
- size() - Method in class org.joda.time.PeriodType
-
Gets the number of fields in the period type.
- size() - Method in interface org.joda.time.ReadablePartial
-
Gets the number of fields that this partial supports.
- size() - Method in interface org.joda.time.ReadablePeriod
-
Gets the number of fields that this period supports.
- size() - Method in class org.joda.time.TimeOfDay
-
Deprecated.
Gets the number of fields in this partial.
- size() - Method in class org.joda.time.YearMonthDay
-
Deprecated.
Gets the number of fields in this partial.
- SkipDateTimeField - Class in org.joda.time.field
-
Wraps another field such that a certain value is skipped.
- SkipDateTimeField(Chronology, DateTimeField) - Constructor for class org.joda.time.field.SkipDateTimeField
-
Constructor that skips zero.
- SkipDateTimeField(Chronology, DateTimeField, int) - Constructor for class org.joda.time.field.SkipDateTimeField
-
Constructor.
- SkipUndoDateTimeField - Class in org.joda.time.field
-
Wraps another field such that a certain value is added back into
the sequence of numbers.
- SkipUndoDateTimeField(Chronology, DateTimeField) - Constructor for class org.joda.time.field.SkipUndoDateTimeField
-
Constructor that reinserts zero.
- SkipUndoDateTimeField(Chronology, DateTimeField, int) - Constructor for class org.joda.time.field.SkipUndoDateTimeField
-
Constructor.
- standard() - Static method in class org.joda.time.format.ISOPeriodFormat
-
The standard ISO format - PyYmMwWdDThHmMsS.
- standard() - Static method in class org.joda.time.PeriodType
-
Gets a type that defines all standard fields.
- standardDays(long) - Static method in class org.joda.time.Duration
-
Create a duration with the specified number of days assuming that
there are the standard number of milliseconds in a day.
- standardDaysIn(ReadablePeriod) - Static method in class org.joda.time.Days
-
Creates a new Days
representing the number of complete
standard length days in the specified period.
- standardHours(long) - Static method in class org.joda.time.Duration
-
Create a duration with the specified number of hours assuming that
there are the standard number of milliseconds in an hour.
- standardHoursIn(ReadablePeriod) - Static method in class org.joda.time.Hours
-
Creates a new Hours
representing the number of complete
standard length hours in the specified period.
- standardMinutes(long) - Static method in class org.joda.time.Duration
-
Create a duration with the specified number of minutes assuming that
there are the standard number of milliseconds in a minute.
- standardMinutesIn(ReadablePeriod) - Static method in class org.joda.time.Minutes
-
Creates a new Minutes
representing the number of complete
standard length minutes in the specified period.
- standardPeriodIn(ReadablePeriod, long) - Static method in class org.joda.time.base.BaseSingleFieldPeriod
-
Creates a new instance representing the number of complete standard length units
in the specified period.
- standardSeconds(long) - Static method in class org.joda.time.Duration
-
Create a duration with the specified number of seconds assuming that
there are the standard number of milliseconds in a second.
- standardSecondsIn(ReadablePeriod) - Static method in class org.joda.time.Seconds
-
Creates a new Seconds
representing the number of complete
standard length seconds in the specified period.
- standardWeeksIn(ReadablePeriod) - Static method in class org.joda.time.Weeks
-
Creates a new Weeks
representing the number of complete
standard length weeks in the specified period.
- StrictChronology - Class in org.joda.time.chrono
-
Wraps another Chronology, ensuring all the fields are strict.
- StrictDateTimeField - Class in org.joda.time.field
-
Converts a lenient DateTimeField into a strict one.
- StrictDateTimeField(DateTimeField) - Constructor for class org.joda.time.field.StrictDateTimeField
-
- subtract(long, int) - Method in class org.joda.time.DurationField
-
Subtracts a duration value (which may be negative) from the instant.
- subtract(long, long) - Method in class org.joda.time.DurationField
-
Subtracts a duration value (which may be negative) from the instant.
- SUNDAY - Static variable in class org.joda.time.DateTimeConstants
-
Constant (7) representing Sunday, the seventh day of the week (ISO)