Uses of Annotation Interface
io.higson.runtime.engine.annotated.annotations.FetchSuggestion

Packages that use FetchSuggestion
  • Uses of FetchSuggestion in io.higson.runtime.core

    Methods in io.higson.runtime.core with annotations of type FetchSuggestion
    Modifier and Type
    Method
    Description
    HigsonContext.get(String path)
    Tries to resolve given path and return object from the context.
    boolean
    HigsonContext.getBoolean(String path)
    Tries to resolve path the same way as method HigsonContext.get(String) and then return value as boolean.
    HigsonContext.getBooleanHolder(String path)
    Tries to resolve path the same way as method HigsonContext.get(String) and then return value wrapped into BooleanHolder with some boolean support.
    HigsonContext.getBooleanType()
    Get Boolean type instance used by Higson.
    HigsonContext.getDate(String path)
    Tries to resolve path the same way as method HigsonContext.get(String) and then return value as Date with date format.
    HigsonContext.getDateHolder(String path)
    Tries to resolve path the same way as method HigsonContext.get(String) and then return value wrapped into DateHolder with some Date support.
    HigsonContext.getDatetime(String path)
    Tries to resolve path the same way as method HigsonContext.get(String) and then return value as Date with date and time format.
    HigsonContext.getDatetimeHolder(String path)
    Tries to resolve path the same way as method HigsonContext.get(String) and then return value wrapped into DatetimeHolder with some Date support.
    HigsonContext.getDatetimeType()
    Get Datetime type instance used by Higson.
    static DateType
    HigsonContext.getDateType()
    Get Date type instance used by Higson.
    HigsonContext.getDecimal(String path)
    Tries to resolve path the same way as method HigsonContext.get(String) and then return value as BigDecimal.
    HigsonContext.getFirst(String path)
    Tries to resolve path the same way as method HigsonContext.get(String), but object under this path must implement Iterable.
    HigsonContext.getInteger(String path)
    Tries to resolve path the same way as method HigsonContext.get(String) and then return value as Integer.
    HigsonContext.getIntegerHolder(String path)
    Tries to resolve path the same way as method HigsonContext.get(String) and then return value wrapped into IntegerHolder with some integer support.
    HigsonContext.getIntegerType()
    Get Integer type instance used by Higson.
    HigsonContext.getLocalDate(String path)
    Tries to resolve path the same way as method HigsonContext.get(String) and then return value as LocalDate with date format.
    HigsonContext.getLocalDateHolder(String path)
    Tries to resolve path the same way as method HigsonContext.get(String) and then return value wrapped into LocalDateHolder with some LocalDate support.
    HigsonContext.getLocalDatetime(String path)
    Tries to resolve path the same way as method HigsonContext.get(String) and then return value as LocalDateTime with date and time format.
    HigsonContext.getLocalDatetimeHolder(String path)
    Tries to resolve path the same way as method HigsonContext.get(String) and then return value wrapped into LocalDatetimeHolder with some LocalDateTime support.
    HigsonContext.getLocalDateTimeType()
    Get LocalDateTime type instance used by Higson.
    HigsonContext.getLocalDateType()
    Get LocalDate type instance used by Higson.
    double
    HigsonContext.getNumber(String path)
    Tries to resolve path the same way as method HigsonContext.get(String) and then return value as double.
    HigsonContext.getNumberHolder(String path)
    Tries to resolve path the same way as method HigsonContext.get(String) and then return value wrapped into NumberHolder with some number support.
    static NumberType
    HigsonContext.getNumberType()
    Get Number type instance used by Higson.
    HigsonContext.getString(String path)
    Tries to resolve path the same way as method HigsonContext.get(String) and then return value as String.
    HigsonContext.getStringHolder(String path)
    Tries to resolve path the same way as method HigsonContext.get(String) and then return value wrapped into StringHolder with some String support.
    static StringType
    HigsonContext.getStringType()
    Get String type instance used by Higson.
    static void
    HigsonContext.initialize(TypesDto dto)
    Initialized supported types.
    HigsonContext.set(String path, Object value)
    Put given value object under specified path.
  • Uses of FetchSuggestion in io.higson.runtime.engine.core.context

    Methods in io.higson.runtime.engine.core.context with annotations of type FetchSuggestion
    Modifier and Type
    Method
    Description
    <T> T
    DefaultContext.get(Class<T> clazz)
    Looks for object of class clazz (or object which class is assignable from clazz.
    <T> T
    DefaultContext.get(String key, Class<T> targetClass)
    Return object stored under key and cast it to given class.
    Object[][]
    DefaultContext.getLevelValues()
     
    DefaultContext.set(Object value)
    Put value under lowercase(value.class.getSimpleName()) in user context map.
    final void
    DefaultContext.setLevelValues(Object... levelValues)
    Set level values directly as objects.
    DefaultContext.with(String key, Object value)
    Put value under lowercase(key).
    DefaultContext.with(String key, Object value, boolean allowOverwrite)
    Put value under key lowercase(key). allowOverwrite flag determines what happens in case of key collision.
    DefaultContext.withLevelValues(Object... levelValues)
     
    DefaultContext.withLevelValues(String... levelValues)
     
  • Uses of FetchSuggestion in io.higson.runtime.function.log

    Methods in io.higson.runtime.function.log with annotations of type FetchSuggestion
    Modifier and Type
    Method
    Description
    void
    RuntimeLogger.debug(String text, Object... args)
     
    void
    RuntimeLogger.error(String text, Object... args)
     
    void
    RuntimeLogger.info(String text, Object... args)
     
    boolean
    RuntimeLogger.isDebug()
     
    boolean
    RuntimeLogger.isError()
     
    boolean
    RuntimeLogger.isInfo()
     
    boolean
    RuntimeLogger.isTrace()
     
    boolean
    RuntimeLogger.isWarn()
     
    void
    RuntimeLogger.trace(String text, Object... args)
     
    void
    RuntimeLogger.warn(String text, Object... args)
     
  • Uses of FetchSuggestion in io.higson.runtime.rhino

    Fields in io.higson.runtime.rhino with annotations of type FetchSuggestion
    Modifier and Type
    Field
    Description
    static final double
    RhinoMath.E
    Euler's number e=2.718..., base of natural logarithm
    static final double
    RhinoMath.PI
    Number π = 3.14...
    Methods in io.higson.runtime.rhino with annotations of type FetchSuggestion
    Modifier and Type
    Method
    Description
    static double
    RhinoMath.abs(double a)
    Returns absolute value of the argument using standard Java function Math.abs(double).
    static float
    RhinoMath.abs(float a)
    Returns absolute value of the argument using standard Java function Math.abs(float).
    static int
    RhinoMath.abs(int a)
    Returns absolute value of the argument using standard Java function Math.abs(int).
    static long
    RhinoMath.abs(long a)
    Returns absolute value of the argument using standard Java function Math.abs(long).
    static double
    RhinoMath.acos(double a)
    Calculates the arc cosine of an argument, using standard Java function Math.acos(double).
    static Date
    RhinoDate.addDay(Object date, int amount)
    Adds amount to 'day' field that is based on given date.
    static Date
    RhinoDate.addDay(Object date, Object amount)
    Adds amount to 'day' field that is based on given date.
    static Date
    RhinoDate.addDay(Date date, int amount)
    Adds amount to 'day' field that is based on given date.
    static Date
    RhinoDate.addHour(Object date, int amount)
    Adds amount to 'hour' field that is based on given date.
    static Date
    RhinoDate.addHour(Object date, Object amount)
    Adds amount to 'hour' field that is based on given date.
    static Date
    RhinoDate.addHour(Date date, int amount)
    Adds amount to 'hour' field that is based on given date.
    static Date
    RhinoDate.addMinute(Object date, int amount)
    Adds amount to 'minute' field that is based on given date.
    1) If amount > 0, it will add minutes,
    2) If amount < 0, it will subtract minutes from date.
    When given date is: String type - must be in yyyy-MM-dd HH:mm:ss or yyyy-MM-dd HH:mm:ss.SSS formats, instance of DateHolder - it will try to retrieve date from holder, instance of other type - it will try to convert date to proper ValueHolder and then retrieve date. This method doesn't modify input date, but creates new instance of date type.
    static Date
    RhinoDate.addMinute(Object date, Object amount)
    Adds amount to 'minute' field that is based on given date.
    static Date
    RhinoDate.addMinute(Date date, int amount)
    Adds amount to 'minute' field that is based on given date.
    1) If amount > 0, it will add minutes,
    2) If amount < 0, it will subtract minutes from date.
    This method doesn't modify input date, but creates new instance of date type.
    static Date
    RhinoDate.addMonth(Object date, int amount)
    Adds amount to 'month' field that is based on given date.
    static Date
    RhinoDate.addMonth(Object date, Object amount)
    Adds amount to 'month' field that is based on given date.
    static Date
    RhinoDate.addMonth(Date date, int amount)
    Adds amount to 'month' field that is based on given date.
    static Date
    RhinoDate.addMonthOracle(Object date, int amount)
    Adds amount to 'month' field that is based on given date, but if day is last day of a given month, then moves day to the last possible day of a calculated month.
    1) If amount > 0, it will add months,
    2) If amount < 0, it will subtract months from date.
    When given date is: String type - must be in yyyy-MM-dd HH:mm:ss or yyyy-MM-dd formats, instance of DateHolder od NumberHolder - it will try to retrieve date from holder, instance of other type - it will try to convert date to proper ValueHolder and then retrieve date. This method doesn't modify input date, but creates new instance of date type.
    static Date
    RhinoDate.addMonthOracle(Object date, Object amount)
    Adds amount to 'month' field that is based on given date, but if day is last day of a given month, then moves day to the last possible day of a calculated month.
    1) If amount > 0, it will add months,
    2) If amount < 0, it will subtract months from date.
    When given date is: String type - must be in yyyy-MM-dd HH:mm:ss or yyyy-MM-dd formats, instance of DateHolder od NumberHolder - it will try to retrieve date from holder, instance of other type - it will try to convert date to proper ValueHolder and then retrieve date. When given amount is: int type - If amount is positive it will add months, but if negative it will subtract months from date, instance of Number - it will try to retrieve int from number, instance of other Object types - it will try to retrieve int from instance, by parsing toString() as Integer. This method doesn't modify input date, but creates new instance of date type.
    static Date
    RhinoDate.addMonthOracle(Date date, int amount)
    Adds amount to 'month' field that is based on given date, but if day is last day of a given month, then moves day to the last possible day of a calculated month.
    1) If amount > 0, it will add months,
    2) If amount < 0, it will subtract months from date.
    This method doesn't modify input date, but creates new instance of date type.
    static Date
    RhinoDate.addSecond(Object date, int amount)
    Adds amount to 'second' field that is based on given date.
    1) If amount > 0, it will add seconds,
    2) If amount < 0, it will subtract seconds from date.
    When given date is: String type - must be in yyyy-MM-dd HH:mm:ss or yyyy-MM-dd HH:mm:ss.SSS formats, instance of DateHolder - it will try to retrieve date from holder, instance of other type - it will try to convert date to proper ValueHolder and then retrieve date. This method doesn't modify input date, but creates new instance of date type.
    static Date
    RhinoDate.addSecond(Object date, Object amount)
    Adds amount to 'second' field that is based on given date.
    1) If amount > 0, it will add seconds,
    2) If amount < 0, it will subtract seconds from date.
    When given date is: String type - must be in yyyy-MM-dd HH:mm:ss or yyyy-MM-dd HH:mm:ss.SSS formats, instance of DateHolder - it will try to retrieve date from holder, instance of other type - it will try to convert date to proper ValueHolder and then retrieve date. When given amount is: int type - If amount is positive it will add seconds, but if negative it will subtract seconds from date, instance of Number - it will try to retrieve int from number, instance of other Object types - it will try to retrieve int from instance, by parsing toString() as Integer. This method doesn't modify input date, but creates new instance of date type.
    static Date
    RhinoDate.addSecond(Date date, int amount)
    Adds amount to 'second' field that is based on given date.
    1) If amount > 0, it will add seconds,
    2) If amount < 0, it will subtract seconds from date.
    This method doesn't modify input date, but creates new instance of date type.
    static Date
    RhinoDate.addYear(Object date, int amount)
    Adds amount to 'year' field that is based on given date.
    static Date
    RhinoDate.addYear(Object date, Object amount)
    Adds amount to 'year' field that is based on given date.
    static Date
    RhinoDate.addYear(Date date, int amount)
    Adds amount to 'year' field that is based on given date.
    static double
    RhinoMath.asin(double a)
    Calculates the arc sine of an argument using standard Java function Math.asin(double).
    static double
    RhinoMath.atan(double a)
    Calculates the arc tangent of an argument, using standard Java function Math.atan(double).
    static double
    RhinoUtil.calculateHaversineDistance(double latitude1, double longitude1, double latitude2, double longitude2)
    Calculate distance between two points not taking into account height difference.
    static double
    RhinoUtil.calculateHaversineDistance(double latitude1, double longitude1, double elevation1, double latitude2, double longitude2, double elevation2)
    Calculate distance between two points in latitude and longitude taking into account height difference.
    RhinoHigson.call(String functionName, ParamContext ctx)
    Method is workaround for python invoke 'higson.call()' without args.
    RhinoHigson.call(String functionName, ParamContext ctx, Object... args)
    Call function in higson with given functionName, context and possible arguments for function.
    RhinoHigson.call(String functionName, Object... args)
    Call function in higson with given functionName and possible arguments for function.
    boolean
    RhinoHigson.callBoolean(String functionName, ParamContext ctx, Object... args)
    Call function in higson with given functionName, context and possible arguments for function.
    RhinoHigson.callDate(String functionName, ParamContext ctx, Object... args)
    Call function in higson with given functionName, context and possible arguments for function.
    RhinoHigson.callDecimal(String functionName, ParamContext ctx, Object... args)
    Call function in higson with given functionName, context and possible arguments for function.
    RhinoHigson.callInteger(String functionName, ParamContext ctx, Object... args)
    Call function in higson with given functionName, context and possible arguments for function.
    RhinoHigson.callLocalDate(String functionName, ParamContext ctx, Object... args)
    Call function in higson with given functionName, context and possible arguments for function.
    RhinoHigson.callLocalDateTime(String functionName, ParamContext ctx, Object... args)
    Call function in higson with given functionName, context and possible arguments for function.
    double
    RhinoHigson.callNumber(String functionName, ParamContext ctx, Object... args)
    Call function in higson with given functionName, context and possible arguments for function.
    RhinoHigson.callString(String functionName, ParamContext ctx, Object... args)
    Call function in higson with given functionName, context and possible arguments for function.
    RhinoHigson.callValue(String functionName, ParamContext ctx, Object... args)
    Call function in higson with given functionName, context and possible arguments for function.
    static String
    RhinoStr.capitalizeAll(String str)
    Capitalizes first letter of all words in the provided String.
    static String
    RhinoStr.capitalizeFirst(String text)
    Capitalizes the first letter of the provided argument.
    static double
    RhinoMath.cbrt(double a)
    Calculates the cube root using standard Java function StrictMath.cbrt(double).
    static double
    RhinoMath.ceil(double a)
    Returns the smallest rounded to whole number value which is greater than or equal to the argument, using standard Java function Math.ceil(double).
    static String
    RhinoStr.compactSpaces(String s)
    Changes all occurrences of adjacent spaces into one space.
    static int
    RhinoDate.compareYMD(Date date1, Date date2)
    Compares two dates by year, month, date.
    static String
    RhinoStr.concat(Object[] arr)
    Returns comma-separated string representations of array elements.
    static String
    RhinoStr.concat(Object[] arr, String delim)
    Returns the string representations of array elements, concatenated into one String, separated by provided delimiter.
    static String
    RhinoStr.concat(Object[] arr, String delim, String nullReplacement)
    Returns the string representations of array elements, concatenated into one String, separated by provided delimiter.
    static String
    RhinoStr.concat(List<?> list)
    Returns the string representations of elements of the List, concatenated into one comma-separated String.
    static String
    RhinoStr.concat(List<?> list, String delim)
    Returns the string representations of elements of the List, concatenated into one String, separated by provided delimiter.
    static boolean
    RhinoStr.contains(String[] arr, String element)
    Checks if an array of Strings contains the specified element.
    static boolean
    RhinoStr.contains(Collection<?> coll, String fragment)
    Checks if the collection contains an object, whose String representation contains the specified fragment, ignoring letter case.
    static Date
    RhinoDate.copy(Date date)
    Creates copy of given date.
    static double
    RhinoMath.cos(double a)
    Calculates trigonometric cosine of an angle using standard Java function Math.cos(double).
    static double
    RhinoMath.cosh(double x)
    Calculates the hyperbolic cosine, using standard Java function Math.cosh(double).
    static int
    RhinoStr.count(String s, char c)
    Counts the occurrences of character in String
    RhinoHigson.createContext(Object... args)
    Helper method for creating context on fly, for given arguments.
    static Date
    RhinoDate.current()
    Deprecated.
    static Date
    RhinoDate.currentDate()
    Return current date with time set to 00:00:00.
    static Date
    RhinoDate.currentDatetime()
    Return current date with time.
    static double
    RhinoMath.exp(double a)
    Calculates Euler's number e raised to the given power using standard Java function Math.exp(double).
    static String
    RhinoStr.filterChars(String s, char lower, char upper)
    Quick method removing from the given String all characters not between lower (inclusive) and upper (inclusive).
    static String
    RhinoStr.filterChars(String s, String allowed)
    A quick method removing from the given String all characters not appearing in the second String argument.
    static String
    RhinoStr.filterDigits(String s)
    Quick method removing from the given String all non-digits.
    static double
    RhinoMath.floor(double a)
    Returns the largest rounded to whole number value which is less than or equal to the argument, using standard Java function Math.floor(double).
    static String
    RhinoDate.format(Date date)
    Returns String from date using yyyy-MM-dd format.
    static String
    RhinoDate.format(Date date, String pattern)
    Returns String in given pattern from date.
    static String
    RhinoStr.format(String pattern, Object... args)
    Performs argument substitution for the pattern passed as parameter.
    static String
    RhinoDate.formatDMY(Date date)
    Returns String in dd-MM-yyyy pattern from date.
    static String
    RhinoDate.formatTimestamp(long timestamp)
    Returns String from timestamp as long using yyyy-MM-dd HH:mm:ss.SSS format.
    static String
    RhinoDate.formatTimestamp(Date date)
    Returns String from date using yyyy-MM-dd HH:mm:ss.SSS format.
    static Date
    RhinoDate.fromInt(int date)
    It will try to convert given date as int to proper date instance.
    RhinoDomain.get(String profile)
    Returns the root element of domain for given profile.
    RhinoDomain.get(String profile, HigsonContext ctx)
    Returns the root element of domain for given profile, associated with the given context object.
    RhinoDomain.get(String profile, String path)
    Returns the element of domain identified by the provided path for given profile.
    RhinoDomain.get(String profile, String path, HigsonContext ctx)
    Returns the element of domain identified by the provided path for given profile, evaluated with the provided context.
    RhinoHigson.get(String param, ParamContext ctx)
    Return raw object value from first cell of matched first row based on given parameter within given context as first token value.
    RhinoHigson.get(String param, Object... tokens)
    Return raw object value from first cell of first row based on given parameter within given context as first token value.
    static int
    RhinoDate.getAbsoluteYearDiff(Object date1, Object date2)
    Calculates full years intervals between date1 and date2.
    boolean
    RhinoHigson.getBoolean(String param, ParamContext ctx)
    Return raw value as boolean from first cell of first row based on given parameter within given context as first token value.
    boolean
    RhinoHigson.getBoolean(String param, Object... tokens)
    Return raw value as boolean from first cell of first row based on given parameter within given context as first token value.
    boolean
    RhinoType.getBoolean(Object obj)
     
    RhinoHigson.getBooleanType()
    Get Boolean type instance used by higson.
    static String
    RhinoStr.getCommonStart(String s1, String s2)
    Returns the longest common prefix of two Strings
    static Date
    RhinoDate.getDate(int year, int month, int day)
    Creates new date from given parameters without time.
    static Date
    RhinoDate.getDate(int year, int month, int day, int hour, int minute)
    Creates new date from given parameters.
    static Date
    RhinoDate.getDate(int year, int month, int day, int hour, int minute, int second)
    Creates new date from given parameters.
    RhinoHigson.getDate(String param, ParamContext ctx)
    Return raw value as java.util.Date from first cell of first row based on given parameter within given context as first token value.
    RhinoHigson.getDate(String param, Object... tokens)
    Return raw value as java.util.Date from first cell of first row based on given parameter within given context as first token value.
    RhinoType.getDate(Object obj)
     
    RhinoType.getDatetime(Object obj)
     
    RhinoHigson.getDateType()
    Get Date type instance used by higson.
    static int
    RhinoDate.getDay(Object date)
    Get day from date, but date must be in yyyy-MM-dd HH:mm:ss or yyyy-MM-dd formats.
    static int
    RhinoDate.getDayDiff(Object date1, Object date2)
    Returns difference of days between givens dates.
    static int
    RhinoDate.getDayDiff(Object date1, Object date2, String pattern)
    Returns difference of days between givens dates.
    static int
    RhinoDate.getDayDiffDeprecated(Object date1, Object date2)
    Deprecated.
    static int
    RhinoDate.getDaysBetween(Date date1, Date date2)
    Calculates full days intervals between date1 and date2.
    static int
    RhinoDate.getDaysInYear(int year)
    Number of days in a given year.
    RhinoHigson.getDecimal(String param, ParamContext ctx)
    Return raw value as BigDecimal from first cell of first row based on given parameter within given context as first token value.
    RhinoHigson.getDecimal(String param, Object... tokens)
    Return raw value as BigDecimal from first cell of first row based on given parameter within given context as first token value.
    RhinoType.getDecimal(Object obj)
     
    RhinoType.getDecimal(Object obj, int scale)
     
    static Date
    RhinoDate.getFirstDayOfMonth(Date date)
    Create new date based on given date, but set to first day of a month.
    static Date
    RhinoDate.getFirstDayOfYear(int year)
    Create date with a beginning for a given year.
    static Date
    RhinoDate.getFirstDayOfYear(Date date)
    Create new date based on given date, but set to first day of a year.
    static Date
    RhinoDate.getFirstWorkingDayOfYear(int year)
    Create date, that is set to the first work day of beginning of given year.
    static int
    RhinoDate.getFullYearDiff(Date date1, Date date2)
    The same as RhinoDate.getAbsoluteYearDiff(Object, Object), but it is not null safe.
    static int
    RhinoDate.getHour(Object date)
    Get hour from date, but date must be in yyyy-MM-dd HH:mm:ss format.
    static int
    RhinoDate.getHourDiff(Object date1, Object date2)
    Deprecated.
    Will be removed in the future
    RhinoHigson.getInteger(String param, ParamContext ctx)
    Return raw value as Integer from first cell of first row based on given parameter within given context as first token value.
    RhinoHigson.getInteger(String param, Object... tokens)
    Return raw value as Integer from first cell of first row based on given parameter within given context as first token value.
    RhinoType.getInteger(Object obj)
     
    RhinoHigson.getIntegerType()
    Get Integer type instance used by higson.
    static Date
    RhinoDate.getLastDayOfMonth(Date date)
    Create new date based on given date, but set to last day of a month.
    static Date
    RhinoDate.getLastDayOfYear(Date date)
    Create new date based on given date, but set to last day of a year.
    RhinoHigson.getLocalDate(String param, ParamContext ctx)
    Return raw value as java.time.LocalDate from first cell of first row based on given parameter within given context as first token value.
    RhinoHigson.getLocalDate(String param, Object... tokens)
    Return raw value as java.time.LocalDate from first cell of first row based on given parameter within given context as first token value.
    RhinoType.getLocalDate(Object obj)
     
    RhinoHigson.getLocalDateTime(String param, ParamContext ctx)
    Return raw value as java.time.LocalDateTime from first cell of first row based on given parameter within given context as first token value.
    RhinoHigson.getLocalDateTime(String param, Object... tokens)
    Return raw value as java.time.LocalDateTime from first cell of first row based on given parameter within given context as first token value.
    RhinoType.getLocalDateTime(Object obj)
     
    RhinoHigson.getLocalDateTimeType()
    Get LocalDateTime type instance used by higson.
    RhinoHigson.getLocalDateType()
    Get LocalDate type instance used by higson.
    static int
    RhinoDate.getMinute(Object date)
    Get minutes from date, but date must be in yyyy-MM-dd HH:mm:ss format.
    static int
    RhinoDate.getMinuteDiff(Object date1, Object date2)
    Deprecated.
    Will be removed in the future
    static int
    RhinoDate.getMonth(Object date)
    Get month from date, but date must be in yyyy-MM-dd HH:mm:ss or yyyy-MM-dd formats.
    static int
    RhinoDate.getMonthDiff(Object date1, Object date2)
    Returns difference of months between givens dates.
    static int
    RhinoDate.getMonthDiffDeprecated(Object date1, Object date2)
    Deprecated.
    static int
    RhinoDate.getMonthsBetween(Date date1, Date date2)
    Calculates full months intervals between date1 and date2.
    static Date
    RhinoDate.getNearestWorkDay(Date date)
    Get closets work day from given date, but if given date is work date, it will return same instance.
    static Date
    Get next work day based on given date, but also verify polish holidays, and consider them during verification.
    static Date
    RhinoDate.getNextWorkDay(Date date)
    Get next working date from given date.
    double
    RhinoHigson.getNum(String param, ParamContext ctx)
    Deprecated.
    use getNumber, getDecimal or getInteger
    double
    RhinoHigson.getNumber(String param, ParamContext ctx)
    Return raw value as double from first cell of first row based on given parameter within given context as first token value.
    double
    RhinoHigson.getNumber(String param, Object... tokens)
    Return raw value as double from first cell of first row based on given parameter within given context as first token value.
    double
    RhinoType.getNumber(Object obj)
     
    double
    RhinoType.getNumber(Object obj, int scale)
     
    RhinoHigson.getNumberType()
    Get Number type instance used by higson.
    RhinoHigson.getParamValue(String param, ParamContext ctx)
    Return container of parameter's sub-matrix from matrix based on given parameter within given context as first token value.
    RhinoHigson.getParamValue(String param, Object... tokens)
    Return container of parameter's sub-matrix from matrix based on given parameter within given context as first token value.
    static Set<Date>
    RhinoDate.getPolishHolidays(int year)
    Returns set of polish holidays for given year, except these years that happen to occur during weekend.
    RhinoDomain.getProfiles()
    Returns codes of profiles with at least one domain element.
    static int
    RhinoDate.getSecond(Object date)
    Get seconds from date, but date must be in yyyy-MM-dd HH:mm:ss format.
    RhinoDate.getSimpleDateFormat(String pattern)
    Returns instance of SimpleDateFormat that is currently used in active Thread.
    RhinoHigson.getString(String param, ParamContext ctx)
    Return raw value as String from first cell of first row based on given parameter within given context as first token value.
    RhinoHigson.getString(String param, Object... tokens)
    Return raw value as String from first cell of first row based on given parameter within given context as first token value.
    RhinoType.getString(Object obj)
     
    RhinoHigson.getStringType()
    Get String type instance used by higson.
    static Date
    RhinoDate.getTime(Calendar cal)
    Deprecated.
    Will be removed in the future
    RhinoHigson.getValue(String param, ParamContext ctx)
    This method is almost the same same RhinoHigson.getParamValue(String param, ParamContext ctx), but the result is wrapped with type conversion support.
    RhinoHigson.getValue(String param, Object... tokens)
    This method is almost the same same RhinoHigson.getParamValue(String param, Object...tokens), but the result is wrapped with type conversion support.
    static int
    RhinoDate.getYear(Object date)
    Get year from date, but date must be in yyyy-MM-dd HH:mm:ss or yyyy-MM-dd formats.
    static int
    RhinoDate.getYearDiff(Object date1, Object date2)
    Returns difference of years between givens dates.
    Possible outcomes: negative result if date1 > date2, positive result if date1 < date2, zero if there is no difference or any of given dates are null.
    static int
    RhinoDate.getYearsBetween(Date date1, Date date2)
    Calculates full years intervals between date1 and date2.
    static boolean
    RhinoDate.isFirstWorkDayOfMonth(Date date)
    Checks if given date is both a first day of a month and a work day.
    static boolean
    RhinoDate.isInPeriod(long d, long d1, long d2)
    Works the same as RhinoDate.isInPeriod(Date, Date, Date), but for longs.
    static boolean
    RhinoDate.isInPeriod(Date dateToCheck, Date minDateInclusive, Date maxDateExclusive)
    Checks if given dateToCheck is within boundaries.
    static boolean
    RhinoDate.isInPeriodInclusive(long d, long d1, long d2)
    Works the same as RhinoDate.isInPeriodInclusive(Date, Date, Date), but for longs.
    static boolean
    RhinoDate.isInPeriodInclusive(Date dateToCheck, Date minDateInclusive, Date maxDateInclusive)
    Checks if given dateToCheck is within boundaries.
    static boolean
    RhinoDate.isLastDayOfMonth(Date date)
    Checks if given date is last date of a month.
    static boolean
    RhinoDate.isLeapYear(int year)
    Verifies if given year is a leap year.
    static boolean
    RhinoDate.isWorkDay(Date date)
    Checks if given date is work date.
    static int
    RhinoDate.julianDay(int year, int month, int day)
    Read more about here: http://en.wikipedia.org/wiki/Julian_day
    static int
    RhinoDate.julianDay(Date date)
    Read more about here: http://en.wikipedia.org/wiki/Julian_day
    static int
    RhinoDate.julianDayDiff(Date date1, Date date2)
    Read more about here: http://en.wikipedia.org/wiki/Julian_day Difference between to julian days.
    static int
    RhinoStr.len(String str)
    Returns the length of the String or 0 if the string is null.
    static double
    RhinoMath.log(double a)
    Calculates the natural logarithm using standard Java function Math.log(double).
    static double
    RhinoMath.log(double a, double b)
    Calculates logarithm of b with base a.
    static double
    RhinoMath.log10(double a)
    Calculates the base 10 logarithm using standard Java function Math.log10(double).
    static Date
    RhinoDate.max(Date d1, Date d2)
    Checks which one of given dates is greater then the other.
    static Date
    RhinoDate.max(Date d1, Date d2, Date d3)
    Checks which one of given dates is greater then the others.
    static double
    RhinoMath.max(double a, double b)
    Returns the greater of two values found using standard Java function Math.max(double, double).
    static float
    RhinoMath.max(float a, float b)
    Returns the greater of two values found using standard Java function Math.max(float, float).
    static int
    RhinoMath.max(int a, int b)
    Returns the greater of two values found using standard Java function Math.max(int, int).
    static long
    RhinoMath.max(long a, long b)
    Returns the greater of two values found using standard Java function Math.max(long, long).
    static Date
    RhinoDate.min(Date d1, Date d2)
    Checks which one of given dates is smaller then the other.
    static Date
    RhinoDate.min(Date d1, Date d2, Date d3)
    Checks which one of given dates is the earliest.
    static double
    RhinoMath.min(double a, double b)
    Returns the smaller of two values found using standard Java function Math.min(double, double).
    static float
    RhinoMath.min(float a, float b)
    Returns the smaller of two values found using standard Java function Math.min(float, float).
    static int
    RhinoMath.min(int a, int b)
    Returns the smaller of two values found using standard Java function Math.min(int, int).
    static long
    RhinoMath.min(long a, long b)
    Returns the smaller of two values found using standard Java function Math.min(long, long).
    RhinoType.multiValue()
    Returns builder for MultiValue
    static String
    RhinoStr.notNull(String str)
    Converts null Strings to empty strings.
    static String
    RhinoStr.nvl(String val)
    Returns the argument if it is not null.
    static String
    RhinoStr.padLeft(String s, char c, int len)
    Returns the String argument with provided character appended at the end required number of times, so that the length of the resulting string is at least equal to the last argument.
    static String
    RhinoStr.padLeft(String s, int len)
    Returns the String argument with spaces added at the end if necessary, so that the length of the resulting string is at least equal to the second argument.
    static String
    RhinoStr.padRight(String s, char c, int len)
    Returns the String argument with provided character added at the beginning required number of times, so that the length of the resulting string is at least equal to the last argument.
    static String
    RhinoStr.padRight(String s, int len)
    Returns the String argument with spaces added at the beginning if necessary, so that the length of the resulting string is at least equal to the second argument.
    RhinoType.paramValue()
     
    static Date
    RhinoDate.parse(Object date)
    Tries to parse given date with default pattern yyyy-MM-dd.
    static Date
    RhinoDate.parse(Object date, Object pattern)
    Tries to parse given date for given object pattern.
    static Date
    RhinoDate.parse(String dateStr)
    Tries to parse String for multiple supported formats and return date.
    static Date
    RhinoDate.parse(String dateStr, String pattern)
    Tries to parse String for given format, then return date.
    static Date
    RhinoDate.parseDMY(String dateString)
    Tries to parse given String in dd-MM-yyyy format.
    static Date
    RhinoDate.parseLong(Object date)
    Tries to parse given object in yyyy-MM-dd HH:mm:ss or yyyy-MM-dd formats.
    static Date
    RhinoDate.parseNoEx(String date)
    Tries to parse given date with default pattern yyyy-MM-dd.
    static Date
    RhinoDate.parseNoEx(String date, String pattern)
    Tries to parse given date for given pattern String.
    static Date
    RhinoDate.parseYMD(String dateString)
    Tries to parse given String in yyyy-MM-dd format.
    static double
    RhinoMath.pow(double a, double b)
    Returns the value of the first argument raised to the power of the second argument, calculated using standard Java function Math.pow(double, double).
    static String
    RhinoStr.print(Object list)
    Creates a String representing the content of Collection, array or Iterable in a clear form of a list of items, with each item in separate line.
    static String
    RhinoStr.print(Object list, String title)
    Creates a String representing the content of Collection, array or Iterable in a clear form of a list of items, with each item in separate line.
    static String
    RhinoStr.print(Object list, String title, int maxLines)
    Creates a String representing the content of Collection, array or Iterable in a clear form of a list of items, with each item in separate line.
    static double
    RhinoMath.random()
    Returns a pseudo-random number greater than or equal to 0.0 and less than 1.0, using standard Java function Math.random()
    static String
    RhinoStr.rejectChars(String s, String rejected)
    A quick method removing from the given String all characters appearing in the second String argument.
    static String
    RhinoStr.repeat(char c, int count)
    Returns the String consisting of the given character repeated specified number of times.
    static Date
    RhinoDate.rollDay(Object date, Object amount)
    Adds amount to the 'day' field without changing other fields.
    static Date
    RhinoDate.rollHour(Object date, Object amount)
    Adds amount to the 'hour' field without changing other fields.
    static Date
    RhinoDate.rollMinute(Object date, Object amount)
    Adds amount to the 'minute' field without changing other fields.
    static Date
    RhinoDate.rollMonth(Object date, Object amount)
    Adds amount to the 'month' field without changing other fields.
    static Date
    RhinoDate.rollSecond(Object date, Object amount)
    Adds amount to the 'second' field without changing other fields.
    static Date
    RhinoDate.rollYear(Object date, Object amount)
    Adds amount to the 'year' field without changing other fields.
    static long
    RhinoMath.round(double a)
    Returns the closest long to the argument, with ties rounding to positive infinity, using standard Java function Math.round(double).
    static double
    RhinoMath.round(double a, int scale)
    Rounds the number to specified decimal places.
    static int
    RhinoMath.round(float a)
    Returns the closest int to the argument, calculated using standard Java function Math.round(float).
    static Date
    RhinoDate.setDay(Object date, Object amount)
    Sets day for given date.
    static Date
    RhinoDate.setHour(Object date, Object amount)
    Sets hour for given date.
    static Date
    RhinoDate.setMinute(Object date, Object amount)
    Sets minute for given date.
    static Date
    RhinoDate.setMonth(Object date, Object amount)
    Sets month for given date.
    static Date
    RhinoDate.setSecond(Object date, Object amount)
    Sets second for given date.
    static Date
    RhinoDate.setYear(Object date, Object amount)
    Sets year for given date.
    static double
    RhinoMath.signum(double d)
    Returns the signum function of the argument, determined using standard Java function Math.signum(double).
    static float
    RhinoMath.signum(float f)
    Returns the signum function of the argument, determined using standard Java function Math.signum(float).
    static double
    RhinoMath.sin(double a)
    Calculates trigonometric sine of an angle using standard Java function Math.sin(double).
    static double
    RhinoMath.sinh(double x)
    Calculates the hyperbolic sine, using standard Java function Math.sinh(double).
    static String[]
    RhinoStr.split(String str, char delim)
    Splits the given string into substrings delimited by specified single character and returns an array of substrings.
    static String[]
    RhinoStr.split(String str, char delim, int max)
    Splits the given string into substrings delimited by specified single character.
    static double
    RhinoMath.sqrt(double a)
    Calculates the positive square root using standard Java function Math.sqrt(double).
    static Date
    RhinoDate.subtractYear(Date date)
    Deprecated.
    will be removed in the future, use RhinoDate.addYear(Date, int) with -1 amount.
    static double
    RhinoMath.tan(double a)
    Calculates trigonometric tangent of an angle using standard Java function Math.tan(double).
    RhinoType.toBooleanHolder(Object obj)
     
    RhinoType.toDateHolder(Object obj)
     
    RhinoType.toDatetimeHolder(Object obj)
     
    static double
    RhinoMath.toDegrees(double angrad)
    Converts an angle measured in radians to angle measured in degrees, using standard Java function Math.toDegrees(double).
    static int
    RhinoDate.toInt(Date date)
    It will try to convert given date to int representation.
    RhinoType.toIntegerHolder(Object obj)
     
    RhinoType.toLocalDateHolder(Object obj)
     
     
    RhinoType.toMultiValue(Object[] row, String... codes)
     
    RhinoType.toMultiValue(Object[] row, Map<String,Integer> indexMap)
     
    RhinoType.toNumberHolder(Object obj)
     
    RhinoType.toParamValue(MultiValue... rows)
     
    RhinoType.toParamValue(String[] codes, Object[][] matrix)
    static double
    RhinoMath.toRadians(double angdeg)
    Converts an angle measured in degrees to angle measured in radians, using standard Java function Math.toRadians(double).
    RhinoType.toStringHolder(Object obj)
     
    static Date
    RhinoDate.trim(Date date)
    Clearing time part of a given date.
    static String
    RhinoStr.trim(String s)
    Trims the argument from leading and trailing whitespaces if it's not null.
    static double
    RhinoMath.trunc(double a, int scale)
    Rounds the number to specified decimal places.
    static String
    RhinoStr.trunc(String s, int maxlen)
    If necessary, shortens the given String to the specified length, by removing appropriate number of characters at the end of the string and adding ellipsis ("...").
    RhinoHigson.value(String param, ParamContext ctx)
    Same as getParamValue
    RhinoHigson.value(String param, Object... tokens)
    Same as getParamValue
    RhinoType.wrap(ParamValue pv)