Index

A B C D E F G H I L M N O P R S T V Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

atDay(int) - Method in class org.lukashian.Year
Returns a new Day that represents the Day of this year that is denoted by the given day number.
atNextDay() - Method in class org.lukashian.Instant
Returns a new Instant that represents the passed proportion of this instant's day on the next day, for example, if this instant represents a point at one third of its day, then calling this method will return an instant that represents one third of the next day.
atPreviousDay() - Method in class org.lukashian.Instant
Returns a new Instant that represents the passed proportion of this instant's day on the previous day, for example, if this instant represents a point at one third of its day, then calling this method will return an instant that represents one third of the previous day.
atTime(int) - Method in class org.lukashian.Day
Returns a new Instant that represents the instant that occurs after the given proportion of this day has passed.
atTime(BigFraction) - Method in class org.lukashian.Day
Returns a new Instant that represents the instant that occurs after the given proportion of this day has passed.

B

BEEPS_PER_DAY - Static variable in class org.lukashian.Instant
The amount of beeps per day, see Basis Points.

C

compareTo(Day) - Method in class org.lukashian.Day
 
compareTo(Instant) - Method in class org.lukashian.Instant
 
compareTo(Year) - Method in class org.lukashian.Year
 
contains(Day) - Method in class org.lukashian.Year
Returns whether the given non-null Day, is part of this year.
contains(Instant) - Method in class org.lukashian.Day
Returns whether the given non-null Instant, is inside this day.
contains(Instant) - Method in class org.lukashian.Year
Returns whether the given non-null Instant, is inside this year.
containsNot(Day) - Method in class org.lukashian.Year
Returns whether the given non-null Day, is not part of this year.
containsNot(Instant) - Method in class org.lukashian.Day
Returns whether the given non-null Instant, is not inside this day.
containsNot(Instant) - Method in class org.lukashian.Year
Returns whether the given non-null Instant, is not inside this year.

D

Day - Class in org.lukashian
Represents a day in the Lukashian Calendar Mechanism.
DAY_FIRST - Enum constant in enum class org.lukashian.Formatter.DayFormat
Format the day first, then the year of the day, for example: '43-5919'.
DAY_ONLY - Enum constant in enum class org.lukashian.Formatter.DayFormat
Format the day only, for example: '43'.
DEFAULT_DAY_EPOCH_MILLISECONDS_EXTENSION - Static variable in class org.lukashian.store.external.ExternalResourceMillisecondStoreDataProvider
 
DEFAULT_UNIX_EPOCH_OFFSET_EXTENSION - Static variable in class org.lukashian.store.external.ExternalResourceMillisecondStoreDataProvider
 
DEFAULT_YEAR_EPOCH_MILLISECONDS_EXTENSION - Static variable in class org.lukashian.store.external.ExternalResourceMillisecondStoreDataProvider
 
differenceInBeepsWith(Instant) - Method in class org.lukashian.Instant
Returns the amount of beeps between this instant and the given non-null Instant, directionally.
differenceWith(Day) - Method in class org.lukashian.Day
Returns the amount of days between this day and the given non-null Day, directionally.
differenceWith(Instant) - Method in class org.lukashian.Instant
Returns the amount of milliseconds between this instant and the given non-null Instant, directionally.
differenceWith(Year) - Method in class org.lukashian.Year
Returns the difference of the numerical year values of this year and the given non-null Year.

E

EPOCH - Enum constant in enum class org.lukashian.Formatter.DayFormat
Format the epoch day, i.e. the how manieth day it is since the start of the Lukashian Calendar, irrespective of the year, for example: '15592'.
equals(Object) - Method in class org.lukashian.Day
 
equals(Object) - Method in class org.lukashian.Instant
 
equals(Object) - Method in class org.lukashian.Year
 
ExternalResourceMillisecondStoreDataProvider - Class in org.lukashian.store.external
This class provides base functionality for loading numbers of milliseconds from an external resource, like a file or a url.
ExternalResourceMillisecondStoreDataProvider(String) - Constructor for class org.lukashian.store.external.ExternalResourceMillisecondStoreDataProvider
Creates an ExternalResourceMillisecondStoreDataProvider that loads arrays of milliseconds from the specified base location, using the default extensions.
ExternalResourceMillisecondStoreDataProvider(String, String, String, String) - Constructor for class org.lukashian.store.external.ExternalResourceMillisecondStoreDataProvider
Creates an ExternalResourceMillisecondStoreDataProvider that loads arrays of milliseconds from the specified base location and extensions.

F

FileMillisecondStoreDataProvider - Class in org.lukashian.store.external.file
This implementation of ExternalResourceMillisecondStoreDataProvider loads binary streams of long values from a file.
FileMillisecondStoreDataProvider(String) - Constructor for class org.lukashian.store.external.file.FileMillisecondStoreDataProvider
 
FileMillisecondStoreDataProvider(String, String, String, String) - Constructor for class org.lukashian.store.external.file.FileMillisecondStoreDataProvider
 
firstDay() - Method in class org.lukashian.Year
Returns a new Day that represents the first Day of this year.
firstInstant() - Method in class org.lukashian.Day
Returns a new Instant that represents the first Instant of this day.
firstInstant() - Method in class org.lukashian.Year
Returns a new Instant that represents the first Instant of this year.
format(BigFraction) - Static method in class org.lukashian.Formatter
Formats the given time by transforming it into an integer number between 0 (inclusive) and 9999 (inclusive), see Basis Points.
format(BigFraction, Function<BigFraction, String>) - Static method in class org.lukashian.Formatter
Formats the given time, using the given Function.
format(Day) - Static method in class org.lukashian.Formatter
Formats the given Day with Formatter.DayFormat.YEAR_FIRST and '-' as a separator.
format(Day, Formatter.DayFormat) - Static method in class org.lukashian.Formatter
Formats the given Day, according to the given Formatter.DayFormat, with '-' as a separator.
format(Day, Formatter.DayFormat, String) - Static method in class org.lukashian.Formatter
Formats the given Day according to the given Formatter.DayFormat, using the given separator between the day and the year.
format(Instant) - Static method in class org.lukashian.Formatter
Formats the given Instant using Formatter.format(Day) and Formatter.format(BigFraction), using a space to separate the two.
format(Instant, Formatter.DayFormat, String, Function<BigFraction, String>) - Static method in class org.lukashian.Formatter
Formats the given Instant using Formatter.format(Day, DayFormat, String) and Formatter.format(BigFraction, Function), using a space to separate the two.
format(Instant, Formatter.DayFormat, Function<BigFraction, String>) - Static method in class org.lukashian.Formatter
Formats the given Instant using Formatter.format(Day, DayFormat) and Formatter.format(BigFraction, Function), using a space to separate the two.
format(Year) - Static method in class org.lukashian.Formatter
Formats the given year by simply returning the year as a String.
Formatter - Class in org.lukashian
Provides methods for formatting instances of the Lukashian Calendar classes.
Formatter() - Constructor for class org.lukashian.Formatter
 
Formatter.DayFormat - Enum Class in org.lukashian
Represents the different ways to format a Day.

G

getBeeps() - Method in class org.lukashian.Instant
Gets the Instant.getProportionOfDay(), represented as beeps.
getCurrentEpochMilliseconds() - Method in class org.lukashian.store.MillisecondStore
Gets the number of milliseconds from the start of the Lukashian Calendar until now.
getDay() - Method in class org.lukashian.Instant
Returns the Day of this instant.
getDayNumber() - Method in class org.lukashian.Day
Returns the integer value of this Day, i.e. which day of the year this is.
getEndYear() - Method in class org.lukashian.Day
Returns the year that this Day ends in.
getEpochDay() - Method in class org.lukashian.Day
Returns which day this is since the start of the Lukashian Calendar, regardless of the year.
getEpochDayForEpochMilliseconds(long) - Method in class org.lukashian.store.MillisecondStore
Gets the epoch day that overlaps with the point where the given number of milliseconds have passed since the start of the Lukashian Calendar.
getEpochMilliseconds() - Method in class org.lukashian.Day
Gets the total number of milliseconds from the start of the Lukashian Calendar, up to the final point of this day.
getEpochMilliseconds() - Method in class org.lukashian.Instant
Gets the unique millisecond on the timeline that this Instant represents.
getEpochMilliseconds() - Method in class org.lukashian.Year
Gets the total number of milliseconds from the start of the Lukashian Calendar, up to the final point of this year.
getEpochMillisecondsAtStartOfDay() - Method in class org.lukashian.Day
Gets the total number of milliseconds from the start of the Lukashian Calendar, up to the first point of this day or 1 if this is the very first day of the calendar.
getEpochMillisecondsAtStartOfYear() - Method in class org.lukashian.Year
Gets the total number of milliseconds from the start of the Lukashian Calendar, up to the first point of this year or 1 if this is the very first year.
getEpochMillisecondsForEpochDay(int) - Method in class org.lukashian.store.MillisecondStore
Gets the number of milliseconds from the start of the Lukashian Calendar until the final point of the given day.
getEpochMillisecondsForYear(int) - Method in class org.lukashian.store.MillisecondStore
Gets the number of milliseconds from the start of the Lukashian Calendar until the final point of the given year.
getEpochMillisecondsPreviousDay() - Method in class org.lukashian.Day
Gets the total number of milliseconds from the start of the Lukashian Calendar, up to the final point of the previous day.
getEpochMillisecondsPreviousYear() - Method in class org.lukashian.Year
Gets the total number of milliseconds from the start of the Lukashian Calendar, up to the final point of the previous year.
getLengthOfBeepInMilliseconds() - Method in class org.lukashian.Day
Returns the length of one beep on this Day, i.e. one-ten-thousandth of this Day, in milliseconds.
getLukashianEpochMilliseconds(long) - Method in class org.lukashian.store.MillisecondStore
Gets the number of milliseconds from the start of the Lukashian Calendar until the given number of milliseconds from the UNIX Epoch.
getMillisecond() - Method in class org.lukashian.Instant
Gets the unique millisecond on the timeline that this Instant represents.
getNumberOfDays() - Method in class org.lukashian.Year
Gets the number of days in this year.
getProportionOfDay() - Method in class org.lukashian.Instant
Returns the proportion of the Day of this instant that has passed.
getUnixEpochMilliseconds() - Method in class org.lukashian.Instant
Gets the total number of milliseconds from the UNIX Epoch, up to the final point of the millisecond represented by this instant.
getUnixEpochMilliseconds(long) - Method in class org.lukashian.store.MillisecondStore
Gets the number of milliseconds from the UNIX Epoch until the given number of milliseconds from the Lukashian Epoch.
getYear() - Method in class org.lukashian.Day
Returns the year of this Day, which is the year this day starts in.
getYear() - Method in class org.lukashian.Instant
Returns the year that this instant is in.
getYearForEpochMilliseconds(long) - Method in class org.lukashian.store.MillisecondStore
Gets the year that overlaps with the point where the given number of milliseconds have passed since the start of the Lukashian Calendar.
getYearNumber() - Method in class org.lukashian.Year
Returns the integer value of this Year, i.e. which year this is.

H

hashCode() - Method in class org.lukashian.Day
 
hashCode() - Method in class org.lukashian.Instant
 
hashCode() - Method in class org.lukashian.Year
 
HttpMillisecondStoreDataProvider - Class in org.lukashian.store.external.http
This implementation of ExternalResourceMillisecondStoreDataProvider loads binary streams of long values from an HTTP location.
HttpMillisecondStoreDataProvider(String) - Constructor for class org.lukashian.store.external.http.HttpMillisecondStoreDataProvider
 
HttpMillisecondStoreDataProvider(String, String, String, String) - Constructor for class org.lukashian.store.external.http.HttpMillisecondStoreDataProvider
 

I

Instant - Class in org.lukashian
Represents a unique millisecond on the timeline.
isAfter(Day) - Method in class org.lukashian.Day
Returns whether this day is after the given non-null Day.
isAfter(Instant) - Method in class org.lukashian.Instant
Returns whether this instant is after the given non-null Instant.
isAfter(Year) - Method in class org.lukashian.Year
Returns whether this year is after the given non-null Year.
isBefore(Day) - Method in class org.lukashian.Day
Returns whether this day is before the given non-null Day.
isBefore(Instant) - Method in class org.lukashian.Instant
Returns whether this instant is before the given non-null Instant.
isBefore(Year) - Method in class org.lukashian.Year
Returns whether this year is before the given non-null Year.
isIn(Day) - Method in class org.lukashian.Instant
Returns whether this instant is in the given non-null Day.
isIn(Year) - Method in class org.lukashian.Day
Returns whether this day is in the given non-null Year.
isIn(Year) - Method in class org.lukashian.Instant
Returns whether this instant is in the given non-null Year.
isNotIn(Day) - Method in class org.lukashian.Instant
Returns whether this instant is not in the given non-null Day.
isNotIn(Year) - Method in class org.lukashian.Day
Returns whether this day is not in the given non-null Year.
isNotIn(Year) - Method in class org.lukashian.Instant
Returns whether this instant is not in the given non-null Year.
isSameOrAfter(Day) - Method in class org.lukashian.Day
Returns whether this day is the same or after the given non-null Day.
isSameOrAfter(Instant) - Method in class org.lukashian.Instant
Returns whether this instant is the same or after the given non-null Instant.
isSameOrAfter(Year) - Method in class org.lukashian.Year
Returns whether this year is the same or after the given non-null Year.
isSameOrBefore(Day) - Method in class org.lukashian.Day
Returns whether this day is the same or before the given non-null Day.
isSameOrBefore(Instant) - Method in class org.lukashian.Instant
Returns whether this instant is the same or before the given non-null Instant.
isSameOrBefore(Year) - Method in class org.lukashian.Year
Returns whether this year is the same or before the given non-null Year.

L

lastDay() - Method in class org.lukashian.Year
Returns a new Day that represents the last Day of this year.
lastInstant() - Method in class org.lukashian.Day
Returns a new Instant that represents the last Instant of this day.
lastInstant() - Method in class org.lukashian.Year
Returns a new Instant that represents the last Instant of this year.
lengthInMilliseconds() - Method in class org.lukashian.Day
Gets the total number of milliseconds from the start of this day, up to the final point of this day.
lengthInMilliseconds() - Method in class org.lukashian.Year
Gets the total number of milliseconds from the start of this year, up to the final point of this year.
loadDayEpochMilliseconds(long[]) - Method in class org.lukashian.store.external.ExternalResourceMillisecondStoreDataProvider
 
loadDayEpochMilliseconds(long[]) - Method in interface org.lukashian.store.MillisecondStoreDataProvider
 
loadDayEpochMilliseconds(long[]) - Method in class org.lukashian.store.StandardEarthMillisecondStoreDataProvider
 
loadMillisecondsByteArray(String) - Method in class org.lukashian.store.external.ExternalResourceMillisecondStoreDataProvider
Loads an array of bytes from the specified location.
loadMillisecondsByteArray(String) - Method in class org.lukashian.store.external.file.FileMillisecondStoreDataProvider
 
loadMillisecondsByteArray(String) - Method in class org.lukashian.store.external.http.HttpMillisecondStoreDataProvider
 
loadUnixEpochOffsetMilliseconds() - Method in class org.lukashian.store.external.ExternalResourceMillisecondStoreDataProvider
 
loadUnixEpochOffsetMilliseconds() - Method in interface org.lukashian.store.MillisecondStoreDataProvider
 
loadUnixEpochOffsetMilliseconds() - Method in class org.lukashian.store.StandardEarthMillisecondStoreDataProvider
 
loadYearEpochMilliseconds() - Method in class org.lukashian.store.external.ExternalResourceMillisecondStoreDataProvider
 
loadYearEpochMilliseconds() - Method in interface org.lukashian.store.MillisecondStoreDataProvider
 
loadYearEpochMilliseconds() - Method in class org.lukashian.store.StandardEarthMillisecondStoreDataProvider
 
LukashianException - Exception Class in org.lukashian
An Exception in the Lukashian Calendar.
LukashianException(String) - Constructor for exception class org.lukashian.LukashianException
 

M

MillisecondStore - Class in org.lukashian.store
For each Day and Year, this class stores the number of milliseconds between the start of the calendar (the Lukashian epoch) and the end of that day or year.
MillisecondStoreDataProvider - Interface in org.lukashian.store
For each Day and Year, an instance of this class provices the number of milliseconds between the start of the calendar (the Lukashian epoch) and the end of that day or year (we call this 'epoch milliseconds').
minusBeeps(int) - Method in class org.lukashian.Instant
Returns a new Instant that represents this instant minus the given amount of beeps.
minusDays(int) - Method in class org.lukashian.Day
Returns a new Day that represents this day minus the given amount of days.
minusDays(int) - Method in class org.lukashian.Instant
Returns a new Instant that represents the passed proportion of this instant's day on this instant's day minus the given amount of days, for example, if this instant represents a point at one third of its day, then calling this method will return an instant that represents one third of the resulting day.
minusMilliseconds(long) - Method in class org.lukashian.Instant
Returns a new Instant that represents this instant minus the given amount of milliseconds.
minusProportionOfDay(BigFraction) - Method in class org.lukashian.Instant
Returns a new Instant that represents this instant minus the given proportion of a Day.
minusSeconds(long) - Method in class org.lukashian.Instant
Returns a new Instant that represents this instant minus the given amount of seconds.
minusYears(int) - Method in class org.lukashian.Day
Returns a new Day that represents this day's number on this day's year minus the given amount of years, for example, if this day represents day number 10 of its year, then calling this method will return an day that represents day number 10 of the resulting year.
minusYears(int) - Method in class org.lukashian.Instant
Returns a new Instant that represents the passed proportion of this instant's day on this instant's day minus the given amount of years, for example, if this instant represents a point at one third of its day, then calling this method will return an instant that represents one third of the resulting day.
minusYears(int) - Method in class org.lukashian.Year
Returns a new Year that represents this year minus the given amount of years.

N

next() - Method in class org.lukashian.Day
Returns a new Day that represents the day succeeding this day.
next() - Method in class org.lukashian.Year
Returns a new Year that represents the year succeeding this year.
now() - Static method in class org.lukashian.Day
Returns the current Day.
now() - Static method in class org.lukashian.Instant
Returns the current Instant.
now() - Static method in class org.lukashian.Year
Returns the current Year.

O

of(int) - Static method in class org.lukashian.Day
Creates a new Day representing the given epoch day, i.e. the number of the day since the start of the calendar, irrespective of the year that the day is in, e.g.
of(int) - Static method in class org.lukashian.Year
Creates a new Year representing the given year.
of(int, int) - Static method in class org.lukashian.Day
Creates a new Day representing the given day in the given year.
of(int, int, int) - Static method in class org.lukashian.Instant
Creates a new Instant that represents the millisecond at the point in time when the given proportion of the given day has passed.
of(int, int, BigFraction) - Static method in class org.lukashian.Instant
Creates a new Instant that represents the millisecond at the point in time when the given proportion of the given day has passed.
of(long) - Static method in class org.lukashian.Instant
Creates a new Instant representing the given number of milliseconds since the start of the Lukashian Calendar.
of(Day, int) - Static method in class org.lukashian.Instant
Creates a new Instant that represents the millisecond at the point in time when the given proportion of the given day has passed.
of(Day, BigFraction) - Static method in class org.lukashian.Instant
Creates a new Instant that represents the millisecond at the point in time when the given proportion of the given day has passed.
of(Year, int) - Static method in class org.lukashian.Day
Creates a new Day representing the given day in the given year.
of(Year, int, int) - Static method in class org.lukashian.Instant
Creates a new Instant that represents the millisecond at the point in time when the given proportion of the given day has passed.
of(Year, int, BigFraction) - Static method in class org.lukashian.Instant
Creates a new Instant that represents the millisecond at the point in time when the given proportion of the given day has passed.
ofJavaInstant(Instant) - Static method in class org.lukashian.Instant
Creates a new Instant representing the same point in time as the given Java Instant.
ofUnixEpochMilliseconds(long) - Static method in class org.lukashian.Instant
Creates a new Instant representing the amount of milliseconds since the UNIX Epoch.
org.lukashian - package org.lukashian
 
org.lukashian.store - package org.lukashian.store
 
org.lukashian.store.external - package org.lukashian.store.external
 
org.lukashian.store.external.file - package org.lukashian.store.external.file
 
org.lukashian.store.external.http - package org.lukashian.store.external.http
 

P

plusBeeps(int) - Method in class org.lukashian.Instant
Returns a new Instant that represents this instant plus the given amount of beeps.
plusDays(int) - Method in class org.lukashian.Day
Returns a new Day that represents this day plus the given amount of days.
plusDays(int) - Method in class org.lukashian.Instant
Returns a new Instant that represents the passed proportion of this instant's day on this instant's day plus the given amount of days, for example, if this instant represents a point at one third of its day, then calling this method will return an instant that represents one third of the resulting day.
plusMilliseconds(long) - Method in class org.lukashian.Instant
Returns a new Instant that represents this instant plus the given amount of milliseconds.
plusProportionOfDay(BigFraction) - Method in class org.lukashian.Instant
Returns a new Instant that represents this instant plus the given proportion of a Day.
plusSeconds(long) - Method in class org.lukashian.Instant
Returns a new Instant that represents this instant plus the given amount of seconds.
plusYears(int) - Method in class org.lukashian.Day
Returns a new Day that represents this day's number on this day's year plus the given amount of years, for example, if this day represents day number 10 of its year, then calling this method will return an day that represents day number 10 of the resulting year.
plusYears(int) - Method in class org.lukashian.Instant
Returns a new Instant that represents the passed proportion of this instant's day on this instant's day plus the given amount of years, for example, if this instant represents a point at one third of its day, then calling this method will return an instant that represents one third of the resulting day.
plusYears(int) - Method in class org.lukashian.Year
Returns a new Year that represents this year plus the given amount of years.
previous() - Method in class org.lukashian.Day
Returns a new Day that represents the day preceding this day.
previous() - Method in class org.lukashian.Year
Returns a new Year that represents the year preceding this year.

R

reload() - Method in class org.lukashian.store.MillisecondStore
Reloads the durations of the Years, Days and the offset with the UNIX epoch from the MillisecondStoreDataProvider.

S

setMillisecondStoreDataProvider(MillisecondStoreDataProvider) - Method in class org.lukashian.store.MillisecondStore
Sets the MillisecondStoreDataProvider to the given instance and reloads this MillisecondStore.
StandardEarthHttpMillisecondStoreDataProvider - Class in org.lukashian.store.external.http
This implementation of HttpMillisecondStoreDataProvider loads binary streams of long values from the official lukashian.org server.
StandardEarthHttpMillisecondStoreDataProvider() - Constructor for class org.lukashian.store.external.http.StandardEarthHttpMillisecondStoreDataProvider
 
StandardEarthMillisecondStoreDataProvider - Class in org.lukashian.store
An implementation of the MillisecondStoreDataProvider that implements the Lukashian Calendar Mechanism, resulting in a Lukashian Calendar: For Solar Earth Years that run from Southern Solstice to Southern Solstice For True (or apparent) Solar Earth Days (not Mean Solar Earth Days) With the year number approximately 3900 higher than the Gregorian Calendar All measured according to Terrestrial Time The standard implementation of the Lukashian Calendar Mechanism ("The Lukashian Calendar") defines a year as a Solar Earth Year (or Tropical Earth Year), i.e. a single rotation of the Earth around the Sun, in terms of the cycle of the seasons.
StandardEarthMillisecondStoreDataProvider() - Constructor for class org.lukashian.store.StandardEarthMillisecondStoreDataProvider
 
store() - Static method in class org.lukashian.store.MillisecondStore
Gets the singleton instance of the MillisecondStore.

T

toJavaInstant() - Method in class org.lukashian.Instant
Gets the Java Instant that represents the same point in time as this Instant.
toString() - Method in class org.lukashian.Day
 
toString() - Method in class org.lukashian.Instant
 
toString() - Method in class org.lukashian.Year
 

V

valueOf(String) - Static method in enum class org.lukashian.Formatter.DayFormat
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.lukashian.Formatter.DayFormat
Returns an array containing the constants of this enum class, in the order they are declared.

Y

Year - Class in org.lukashian
Represents a year in the Lukashian Calendar Mechanism.
YEAR_FIRST - Enum constant in enum class org.lukashian.Formatter.DayFormat
Format the year first, then the day inside the year, for example: '5919-43'.
A B C D E F G H I L M N O P R S T V Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form