io.virtdata.libbasics.shared.from_long.to_time_types.joda.ToMillisAtStartOfNamedWeekDayAutoDocsInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of virtdata-lib-realer Show documentation
Show all versions of virtdata-lib-realer Show documentation
With inspiration from other libraries
// This file is auto-generated.
package io.virtdata.libbasics.shared.from_long.to_time_types.joda;
import io.virtdata.annotations.Category;
import io.virtdata.annotations.Service;
import io.virtdata.processors.DocCtorData;
import io.virtdata.processors.DocForFuncCtor;
import io.virtdata.processors.DocFuncData;
import java.lang.String;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
@Service(DocFuncData.class)
public class ToMillisAtStartOfNamedWeekDayAutoDocsInfo implements DocFuncData {
public String getClassName() {
return "ToMillisAtStartOfNamedWeekDay";
}
public String getPackageName() {
return "io.virtdata.libbasics.shared.from_long.to_time_types.joda";
}
public String getClassJavadoc() {
return "Return the epoch milliseconds at the start of the most recent day\n"
+ "that falls on the given weekday for the given\n"
+ "epoch milliseconds, including the current day if valid.\n";
}
public String getInType() {
return "long";
}
public String getOutType() {
return "long";
}
public Category[] getCategories() {
return new Category[] { Category.datetime };
}
public List getCtors() {
return new ArrayList() {{
add(new DocForFuncCtor("ToMillisAtStartOfNamedWeekDay", "",
new LinkedHashMap() {{
}},
new ArrayList>() {{
add(new ArrayList() {{
add("ToMillisAtStartOfNamedWeekDay()");
add("return millisecond epoch time of the start of the most recent Monday (possibly the day-of) of the provided millisecond epoch time, assuming UTC");
}});
}}
));
add(new DocForFuncCtor("ToMillisAtStartOfNamedWeekDay", "",
new LinkedHashMap() {{
put("weekday","java.lang.String");
}},
new ArrayList>() {{
add(new ArrayList() {{
add("ToMillisAtStartOfNamedWeekDay('Wednesday')");
add("return millisecond epoch time of the start of the most recent Wednesday (possibly the day-of) of the provided millisecond epoch time, assuming UTC");
}});
}}
));
add(new DocForFuncCtor("ToMillisAtStartOfNamedWeekDay", "",
new LinkedHashMap() {{
put("weekday","java.lang.String");
put("timezoneId","java.lang.String");
}},
new ArrayList>() {{
add(new ArrayList() {{
add("ToMillisAtStartOfNamedWeekDay('Saturday','America/Chicago'')");
add("return millisecond epoch time of the start of the most recent Saturday (possibly the day-of) of the provided millisecond epoch time, using timezone America/Chicago");
}});
}}
));
}};
}
}