Tabnine Logo
AdjustableDate.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.opengamma.strata.basics.date.AdjustableDate
constructor

Best Java code snippets using com.opengamma.strata.basics.date.AdjustableDate.<init> (Showing top 3 results out of 315)

origin: OpenGamma/Strata

@Override
public AdjustableDate build() {
 return new AdjustableDate(
   unadjusted,
   adjustment);
}
origin: OpenGamma/Strata

/**
 * Obtains an instance with a business day adjustment.
 * <p>
 * This creates an adjustable date from the unadjusted date and business day adjustment.
 * The adjusted date is accessible via {@link #adjusted(ReferenceData)}.
 * 
 * @param unadjusted  the unadjusted date
 * @param adjustment  the business day adjustment to apply to the unadjusted date
 * @return the adjustable date
 */
public static AdjustableDate of(LocalDate unadjusted, BusinessDayAdjustment adjustment) {
 return new AdjustableDate(unadjusted, adjustment);
}
origin: OpenGamma/Strata

/**
 * Obtains an instance with no business day adjustment.
 * <p>
 * This creates an adjustable date from the specified date.
 * No business day adjustment applies, thus the result of {@link #adjusted(ReferenceData)}
 * is the specified date.
 * 
 * @param date  the date
 * @return the adjustable date
 */
public static AdjustableDate of(LocalDate date) {
 return new AdjustableDate(date, BusinessDayAdjustment.NONE);
}
com.opengamma.strata.basics.dateAdjustableDate<init>

Popular methods of AdjustableDate

  • of
    Obtains an instance with a business day adjustment. This creates an adjustable date from the unadjus
  • getUnadjusted
    Gets the unadjusted date. This date may be a non-business day. The business day adjustment is used t
  • adjusted
    Adjusts the date using the business day adjustment. This returns the adjusted date, calculated by ap
  • getAdjustment
    Gets the business day adjustment that is to be applied to the unadjusted date. This is used to adju
  • equals
  • toString
    Returns a string describing the adjustable date.

Popular in Java

  • Making http post requests using okhttp
  • requestLocationUpdates (LocationManager)
  • compareTo (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now